Summary: | Gotta grow the locals vectors if we are about to do SetLocals beyond the bytecode's numCalleeRegisters | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Filip Pizlo <fpizlo> | ||||
Component: | JavaScriptCore | Assignee: | Filip Pizlo <fpizlo> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Normal | CC: | barraclough, ggaren, mark.lam, mhahnenberg, msaboff, nrotem, oliver, sam | ||||
Priority: | P2 | ||||||
Version: | 528+ (Nightly build) | ||||||
Hardware: | All | ||||||
OS: | All | ||||||
Attachments: |
|
Description
Filip Pizlo
2014-03-22 23:38:05 PDT
Created attachment 227605 [details]
the patch
Comment on attachment 227605 [details]
the patch
r=me
Comment on attachment 227605 [details]
the patch
This causes a v8-raytrace regression in FTL. I'm investigating.
Found the issue. FTL::OSRExitCompiler was unintentionally relying on numLocals() to be aligned. Nobody else makes such an assumption. And FTL::OSRExitCompiler only relied on it because its round-up was done by rounding the stack size in bytes up to stackAlignmentRegisters() [sic]. Changing that the stackAlignmentBytes() fixes the bug. I will land with this fix. Landed in http://trac.webkit.org/changeset/166142 |