• mythria's avatar
    [Interpreter] Marks that 'throw' has returned a value. · 232e28d6
    mythria authored
    This is to fix some of the failing test262 tests with ignition flag.
    In few test262 tests, there is a throw from the script scope. Rewriter::Rewrite
    pass converts expression statements into assignment statements in script scope.
    This causes interpreter to fail because assignment expression expects a result
    in accumulator but throw statement does not return a value. To fix this, we
    now mark that accumulator contains a value when visiting throw statement.
    
    BUG=v8:4280
    LOG=N
    
    Review URL: https://codereview.chromium.org/1523423003
    
    Cr-Commit-Position: refs/heads/master@{#33408}
    232e28d6
Name
Last commit
Last update
..
benchmarks Loading commit data...
cctest Loading commit data...
intl Loading commit data...
js-perf-test Loading commit data...
memory Loading commit data...
message Loading commit data...
mjsunit Loading commit data...
mozilla Loading commit data...
preparser Loading commit data...
promises-aplus Loading commit data...
simdjs Loading commit data...
test262 Loading commit data...
unittests Loading commit data...
webkit Loading commit data...
bot_default.gyp Loading commit data...
bot_default.isolate Loading commit data...
default.gyp Loading commit data...
default.isolate Loading commit data...
ignition.gyp Loading commit data...
ignition.isolate Loading commit data...
optimize_for_size.gyp Loading commit data...
optimize_for_size.isolate Loading commit data...