| Index: test/unittests/interpreter/bytecode-array-iterator-unittest.cc
|
| diff --git a/test/unittests/interpreter/bytecode-array-iterator-unittest.cc b/test/unittests/interpreter/bytecode-array-iterator-unittest.cc
|
| index 657a7ddb6b732dd3c2a87bb84ab0aab2a08202c2..003a91c3c40b6bb14e18673418232619ed80a858 100644
|
| --- a/test/unittests/interpreter/bytecode-array-iterator-unittest.cc
|
| +++ b/test/unittests/interpreter/bytecode-array-iterator-unittest.cc
|
| @@ -45,6 +45,7 @@ TEST_F(BytecodeArrayIteratorTest, IteratesBytecodeArray) {
|
| .LoadNamedProperty(reg_1, name, feedback_slot, LanguageMode::SLOPPY)
|
| .StoreAccumulatorInRegister(reg_2)
|
| .CallRuntime(Runtime::kLoadIC_Miss, reg_0, 1)
|
| + .Debugger()
|
| .Return();
|
|
|
| // Test iterator sees the expected output from the builder.
|
| @@ -98,6 +99,10 @@ TEST_F(BytecodeArrayIteratorTest, IteratesBytecodeArray) {
|
| CHECK(!iterator.done());
|
| iterator.Advance();
|
|
|
| + CHECK_EQ(iterator.current_bytecode(), Bytecode::kDebugger);
|
| + CHECK(!iterator.done());
|
| + iterator.Advance();
|
| +
|
| CHECK_EQ(iterator.current_bytecode(), Bytecode::kReturn);
|
| CHECK(!iterator.done());
|
| iterator.Advance();
|
|
|