Description[Interpreter] Adds a placeholder merge node when visiting jumps.
This is to fix a bug in the bytecode graph builder. This cl adds a new merge
node before we copy the environment on conditional/unconditional jumps. Since
these environments could be merged later, we add a place holder merge so that
the control dependencies are correctly merged. If we do not have a merge node
we may incorrectly merge the dependencies into the previous block.
For ex: test-run-variables/ContextStoreVariables in cctests.
BUG=v8:4280
LOG=N
Committed: https://crrev.com/d0e01b0ba0f58fb1d94b21e8dcb33bb95917b1f0
Cr-Commit-Position: refs/heads/master@{#33591}
Patch Set 1 #
Total comments: 2
Patch Set 2 : Address review comments #
Messages
Total messages: 23 (10 generated)
|