I found some simple improvements in the bytecode parser that greatly improve the chances of context-sensitive inlining happening by revealing the callee constant.
Created attachment 275744 [details] the patch
Comment on attachment 275744 [details] the patch View in context: https://bugs.webkit.org/attachment.cgi?id=275744&action=review > Source/JavaScriptCore/ChangeLog:32 > + This is a 14% speed-up on Octane/raytrace. On one hand, optimizing at the parser level is pretty weird. On the other hand...14%! > Source/JavaScriptCore/dfg/DFGByteCodeParser.cpp:1176 > + return; You don't need the return.
Landed in http://trac.webkit.org/changeset/199093