DescriptionFix incorrect patching for OSR.
If OSR happens before regular recompilation, the unoptimized function code
on the stack may not have deoptimization support. In that case, graph
creation compiles the unoptimized code again to include support. That
code is then installed as shared code. When we patch code for OSR, the
function code on the stack and not the shared code is what we want.
R=titzer@chromium.org
TEST=block-conflicts.js with --always-osr --concurrent-osr
Committed: https://code.google.com/p/v8/source/detail?r=18261
Patch Set 1 #Patch Set 2 : #
Total comments: 1
Patch Set 3 : reworked how we obtain pc offset #
Total comments: 1
Patch Set 4 : comment #
Messages
Total messages: 7 (0 generated)
|