v8/test/unittests/interpreter
yangguo 3c1dc424d3 [ignition, debugger] correctly set position for return with elided bytecode.
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}
2016-03-15 08:28:03 +00:00
..
bytecode-array-builder-unittest.cc [Interpreter] Removes TestNotEqualsStrict bytecode from interpreter. 2016-03-07 10:50:44 +00:00
bytecode-array-iterator-unittest.cc Remove strong mode support from property loads. 2016-02-17 10:30:47 +00:00
bytecode-register-allocator-unittest.cc [interpreter] Move temporary register allocator into own file. 2016-02-02 14:32:27 +00:00
bytecodes-unittest.cc [interpreter, debugger] support debug breaks via bytecode array copy 2016-02-22 13:17:52 +00:00
constant-array-builder-unittest.cc [interpreter] Preparation for 32-bit operands. 2016-02-26 10:16:37 +00:00
interpreter-assembler-unittest.cc [compiler] Fix a bunch of wrong word size assumptions. 2016-03-01 07:10:26 +00:00
interpreter-assembler-unittest.h [Interpreter] Make InterpreterAssembler a subclass of CodeStubAssembler. 2016-02-10 16:39:32 +00:00
register-translator-unittest.cc [interpreter] Properly collect for-in slow mode feedback. 2016-03-01 13:55:58 +00:00
source-position-table-unittest.cc [ignition, debugger] correctly set position for return with elided bytecode. 2016-03-15 08:28:03 +00:00