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 6bd2d943ebfa5210cffead9536a5552393ec2a82..7d3601a11c338551d131ce51b9fdec34318ddff1 100644 |
--- a/test/unittests/interpreter/bytecode-array-builder-unittest.cc |
+++ b/test/unittests/interpreter/bytecode-array-builder-unittest.cc |
@@ -94,9 +94,14 @@ TEST_F(BytecodeArrayBuilderTest, AllBytecodesGenerated) { |
.BinaryOperation(Token::Value::SAR, reg, Strength::WEAK) |
.BinaryOperation(Token::Value::SHR, reg, Strength::WEAK); |
+ // Emit count operatior invocations |
+ builder.CountOperation(Token::Value::ADD, Strength::WEAK) |
+ .CountOperation(Token::Value::SUB, Strength::WEAK); |
+ |
// Emit unary operator invocations. |
builder.LogicalNot().TypeOf(); |
+ |
// Emit new. |
builder.New(reg, reg, 0); |
@@ -113,7 +118,7 @@ TEST_F(BytecodeArrayBuilderTest, AllBytecodesGenerated) { |
.CompareOperation(Token::Value::IN, reg, Strength::WEAK); |
// Emit cast operator invocations. |
- builder.LoadNull() |
+ builder.CastAccumulatorToNumber() |
.CastAccumulatorToBoolean() |
.CastAccumulatorToName(); |