• 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
benchmarks Loading commit data...
build Loading commit data...
docs Loading commit data...
include Loading commit data...
infra Loading commit data...
samples Loading commit data...
src Loading commit data...
test Loading commit data...
testing Loading commit data...
third_party/binutils Loading commit data...
tools Loading commit data...
.clang-format Loading commit data...
.gitignore Loading commit data...
.ycm_extra_conf.py Loading commit data...
AUTHORS Loading commit data...
BUILD.gn Loading commit data...
CODE_OF_CONDUCT.md Loading commit data...
ChangeLog Loading commit data...
DEPS Loading commit data...
LICENSE Loading commit data...
LICENSE.strongtalk Loading commit data...
LICENSE.v8 Loading commit data...
LICENSE.valgrind Loading commit data...
Makefile Loading commit data...
Makefile.android Loading commit data...
Makefile.nacl Loading commit data...
OWNERS Loading commit data...
PRESUBMIT.py Loading commit data...
README.md Loading commit data...
WATCHLISTS Loading commit data...
codereview.settings Loading commit data...
snapshot_toolchain.gni Loading commit data...