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 d7bdbb33725b20c13e7acdfa1798c9ddb4c8ca02..113312ed8a1ff5cf6f8ef49036622e1d022149e4 100644 |
--- a/test/unittests/interpreter/bytecode-array-builder-unittest.cc |
+++ b/test/unittests/interpreter/bytecode-array-builder-unittest.cc |
@@ -200,7 +200,11 @@ TEST_F(BytecodeArrayBuilderTest, AllBytecodesGenerated) { |
builder.LoadUndefined() |
.CompareOperation(Token::Value::EQ, reg, 1) |
.LoadNull() |
- .CompareOperation(Token::Value::EQ, reg, 1); |
+ .CompareOperation(Token::Value::EQ, reg, 1) |
+ .LoadUndefined() |
+ .CompareOperation(Token::Value::EQ_STRICT, reg, 1) |
+ .LoadNull() |
+ .CompareOperation(Token::Value::EQ_STRICT, reg, 1); |
// Emit conversion operator invocations. |
builder.ConvertAccumulatorToNumber(reg) |
@@ -411,6 +415,8 @@ TEST_F(BytecodeArrayBuilderTest, AllBytecodesGenerated) { |
scorecard[Bytecodes::ToByte(Bytecode::kShiftLeftSmi)] = 1; |
scorecard[Bytecodes::ToByte(Bytecode::kShiftRightSmi)] = 1; |
scorecard[Bytecodes::ToByte(Bytecode::kTestUndetectable)] = 1; |
+ scorecard[Bytecodes::ToByte(Bytecode::kTestUndefined)] = 1; |
+ scorecard[Bytecodes::ToByte(Bytecode::kTestNull)] = 1; |
} |
// Check return occurs at the end and only once in the BytecodeArray. |