• yangguo's avatar
    [ignition, debugger] correctly set position for return with elided bytecode. · 3c1dc424
    yangguo authored
    We may not emit bytecode for the evaluation of the to-be-returned
    expression. In that case we cannot set two return positions for a return
    statement (one before and one after the expression evaluation). This
    sets the interpreter apart from full-codegen.
    
    Make sure that we always have the second of the two return positions.
    
    Note that we end up with separate test cases for ignition and FCG.
    
    R=rmcilroy@chromium.org, vogelheim@chromium.org
    BUG=v8:4690
    LOG=N
    
    Review URL: https://codereview.chromium.org/1801473003
    
    Cr-Commit-Position: refs/heads/master@{#34771}
    3c1dc424
Name
Last commit
Last update
..
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-assembler.cc Loading commit data...
interpreter-assembler.h Loading commit data...
interpreter.cc Loading commit data...
interpreter.h Loading commit data...
register-translator.cc Loading commit data...
register-translator.h Loading commit data...
source-position-table.cc Loading commit data...
source-position-table.h Loading commit data...