• mstarzinger's avatar
    [fullcodegen] Implement control flow across do-expressions. · ee8108b7
    mstarzinger authored
    This implements proper handling of local control flow (i.e. break and
    continue) that spans the boundary of a do-expression. We can no longer
    determine the number of operands to be dropped from the nesting of
    statements alone, instead we use the new precise operand stack depth
    tracking.
    
    R=jarin@chromium.org
    TEST=mjsunit/harmony/do-expressions-control
    BUG=v8:4488
    LOG=n
    
    Review URL: https://codereview.chromium.org/1724753002
    
    Cr-Commit-Position: refs/heads/master@{#34246}
    ee8108b7
do-expressions-control.js 3.59 KB