Bug 68186 - All of the functionality in the non-speculative JIT should be available to the speculative JIT via helper methods
Summary: All of the functionality in the non-speculative JIT should be available to th...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: JavaScriptCore (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks: 68177
  Show dependency treegraph
 
Reported: 2011-09-15 13:27 PDT by Filip Pizlo
Modified: 2011-09-15 14:50 PDT (History)
3 users (show)

See Also:


Attachments
the patch (53.95 KB, patch)
2011-09-15 13:34 PDT, Filip Pizlo
oliver: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Filip Pizlo 2011-09-15 13:27:11 PDT
In some cases the speculative JIT may have evidence that speculating on the type of a particular variable is unprofitable.  In those cases it's likely to make sense to emit what the non-speculative JIT would have emitted, but only for uses of that variable.  Doing this requires having the non-speculative JIT's code generator available on a per-opcode basis in the form of helper methods in JITCodeGenerator.
Comment 1 Filip Pizlo 2011-09-15 13:34:22 PDT
Created attachment 107542 [details]
the patch
Comment 2 Filip Pizlo 2011-09-15 14:50:21 PDT
Landed in r95230.