| Index: test/unittests/interpreter/bytecode-array-builder-unittest.cc
|
| diff --git a/test/unittests/interpreter/bytecode-array-builder-unittest.cc b/test/unittests/interpreter/bytecode-array-builder-unittest.cc
|
| index 330aafa0e2b6f450fee2ce0d78dff70ffccba808..37024b9d2aea466e51077f19d8851e64e425469f 100644
|
| --- a/test/unittests/interpreter/bytecode-array-builder-unittest.cc
|
| +++ b/test/unittests/interpreter/bytecode-array-builder-unittest.cc
|
| @@ -307,9 +307,11 @@ TEST_F(BytecodeArrayBuilderTest, AllBytecodesGenerated) {
|
| CHECK_EQ(final_bytecode, Bytecode::kReturn);
|
| CHECK_EQ(scorecard[Bytecodes::ToByte(final_bytecode)], 1);
|
|
|
| -#define CHECK_BYTECODE_PRESENT(Name, ...) \
|
| - /* Check Bytecode is marked in scorecard */ \
|
| - CHECK_GE(scorecard[Bytecodes::ToByte(Bytecode::k##Name)], 1);
|
| +#define CHECK_BYTECODE_PRESENT(Name, ...) \
|
| + /* Check Bytecode is marked in scorecard, unless it's a debug break */ \
|
| + if (!Bytecodes::IsDebugBreak(Bytecode::k##Name)) { \
|
| + CHECK_GE(scorecard[Bytecodes::ToByte(Bytecode::k##Name)], 1); \
|
| + }
|
| BYTECODE_LIST(CHECK_BYTECODE_PRESENT)
|
| #undef CHECK_BYTECODE_PRESENT
|
| }
|
|
|