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 a5aff52f59db59af29201f5322dffbcb2a9426fb..eec83c71c3dff1113667670ebc36feda6b2e7d30 100644 |
--- a/test/unittests/interpreter/bytecode-array-builder-unittest.cc |
+++ b/test/unittests/interpreter/bytecode-array-builder-unittest.cc |
@@ -64,7 +64,8 @@ TEST_F(BytecodeArrayBuilderTest, AllBytecodesGenerated) { |
builder.CreateClosure(NOT_TENURED); |
// Emit literal creation operations |
- builder.CreateArrayLiteral(0, 0); |
+ builder.CreateArrayLiteral(0, 0) |
+ .CreateObjectLiteral(0, 0); |
// Call operations. |
builder.Call(reg, reg, 0); |
@@ -93,7 +94,9 @@ TEST_F(BytecodeArrayBuilderTest, AllBytecodesGenerated) { |
.CompareOperation(Token::Value::IN, reg, Strength::WEAK); |
// Emit cast operator invocations. |
- builder.LoadNull().CastAccumulatorToBoolean(); |
+ builder.LoadNull() |
+ .CastAccumulatorToBoolean() |
+ .CastAccumulatorToName(); |
// Emit control flow. Return must be the last instruction. |
BytecodeLabel start; |