Description[interpreter] Fix destroyed new.target register use.
This fixes a corner-case where the bytecode was using the <new.target>
register directly without going through the local variable. The value
might be clobbered because the deoptimizer doesn't properly restore the
value. The label will causes bytecode pipeline to be flushed and hence
ensure {BytecodeRegisterOptimizer} doesn't reuse <new.target> anymore.
R=rmcilroy@chromium.org
TEST=mjsunit/regress/regress-crbug-645103
BUG=chromium:645103
Committed: https://crrev.com/0681deb9142f7845b2d28e062664a0e63c601b68
Cr-Commit-Position: refs/heads/master@{#39306}
Patch Set 1 #Patch Set 2 : Recement. #
Messages
Total messages: 15 (10 generated)
|