The baseline JIT in the /jit directory is basically a template code generator. There is little cross instruction optimization – the last result is typically left mapped into registers, and some extremely limited static type information is propagated between some bytecode ops. But if you're looking for a more interesting code generation path you may want to poke about in the /dfg directory.
On Dec 27, 2011, at 11:57 AM, wingoog moon wrote: > Hi > Tring to understand SFX aritecture and I have found these functions > JIT::privateCompileMainPass() > JIT::privateCompileSlowCases() > in http://trac.webkit.org/browser/trunk/Source/JavaScriptCore/jit/JIT.cpp. > So as I understand each instruction is executed seperatly from others. It > seems that JIT works tha way as interpretator does. > What the difference between SFX JIT and SFX interpretor, exept that JIT keep > cashed copies of functions. > thanks for attention! > > _______________________________________________ > squirrelfish-dev mailing list > [email protected] > http://lists.webkit.org/mailman/listinfo.cgi/squirrelfish-dev
_______________________________________________ squirrelfish-dev mailing list [email protected] http://lists.webkit.org/mailman/listinfo.cgi/squirrelfish-dev
