• 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
..
DEPS Loading commit data...
OWNERS Loading commit data...
bytecode-array-builder.cc Loading commit data...
bytecode-array-builder.h Loading commit data...
bytecode-array-iterator.cc Loading commit data...
bytecode-array-iterator.h Loading commit data...
bytecode-generator.cc Loading commit data...
bytecode-generator.h Loading commit data...
bytecode-register-allocator.cc Loading commit data...
bytecode-register-allocator.h Loading commit data...
bytecode-traits.h Loading commit data...
bytecodes.cc Loading commit data...
bytecodes.h Loading commit data...
constant-array-builder.cc Loading commit data...
constant-array-builder.h Loading commit data...
control-flow-builders.cc Loading commit data...
control-flow-builders.h Loading commit data...
handler-table-builder.cc Loading commit data...
handler-table-builder.h Loading commit data...
interpreter.cc Loading commit data...
interpreter.h Loading commit data...