• mvstanton's avatar
    Allow Crankshaft to tolerate certain do-expressions · 67838546
    mvstanton authored
    Crankshaft can't track operand/environment changes between arbitrary statements.
    We need that to fully support do-expressions. Instead, a subset is supported
    by bailing out on break statements, continue statements, and if we've made an
    OSR entry within a do-expression.
    
    This partial support is a good idea because do-expressions are a useful tool
    for desugaring during parsing.
    
    BUG=
    R=mstarzinger@chromium.org
    
    Review URL: https://codereview.chromium.org/1769463002
    
    Cr-Commit-Position: refs/heads/master@{#34491}
    67838546
ast-numbering.cc 16.4 KB