RESOLVED FIXED 130650
Gotta grow the locals vectors if we are about to do SetLocals beyond the bytecode's numCalleeRegisters
https://bugs.webkit.org/show_bug.cgi?id=130650
Summary Gotta grow the locals vectors if we are about to do SetLocals beyond the byte...
Filip Pizlo
Reported 2014-03-22 23:38:05 PDT
Patch forthcoming. <rdar://problem/16122966>
Attachments
the patch (6.09 KB, patch)
2014-03-22 23:40 PDT, Filip Pizlo
no flags
Filip Pizlo
Comment 1 2014-03-22 23:40:36 PDT
Created attachment 227605 [details] the patch
Michael Saboff
Comment 2 2014-03-22 23:43:56 PDT
Comment on attachment 227605 [details] the patch r=me
Filip Pizlo
Comment 3 2014-03-23 00:15:13 PDT
Comment on attachment 227605 [details] the patch This causes a v8-raytrace regression in FTL. I'm investigating.
Filip Pizlo
Comment 4 2014-03-23 11:36:01 PDT
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.
Filip Pizlo
Comment 5 2014-03-23 11:58:11 PDT
Note You need to log in before you can comment on or make changes to this bug.