Description[interpreter] Always 'continue' loops by jumping forward to end of body.
We sometimes used to continue by jumping _back_ to the condition check at the
top of the loop. After my recent generator-related changes, that check is no
longer at the loop header, so a continue could create an additional loop. In
order to avoid this, we now always set the continue target to be the first
instruction following the loop body.
BUG=
Committed: https://crrev.com/ca5aa3c86ac5d9695046e45a98b00a23cbed5e17
Cr-Commit-Position: refs/heads/master@{#36029}
Patch Set 1 #
Messages
Total messages: 11 (5 generated)
|