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 a3463264ddeef54158e464c29cc320033be58460..05ebc3d5d92b0a5b9190f0be38ad885fba7d2d04 100644 |
--- a/test/unittests/interpreter/bytecode-array-builder-unittest.cc |
+++ b/test/unittests/interpreter/bytecode-array-builder-unittest.cc |
@@ -159,7 +159,6 @@ TEST_F(BytecodeArrayBuilderTest, AllBytecodesGenerated) { |
// Emit cast operator invocations. |
builder.CastAccumulatorToNumber() |
- .CastAccumulatorToJSObject() |
.CastAccumulatorToName(); |
// Emit control flow. Return must be the last instruction. |
@@ -209,7 +208,10 @@ TEST_F(BytecodeArrayBuilderTest, AllBytecodesGenerated) { |
.Throw() |
.Bind(&after_throw); |
- builder.ForInPrepare(reg).ForInDone(reg).ForInNext(reg, reg); |
+ builder.ForInPrepare(reg, reg, reg, reg) |
+ .ForInDone(reg, reg) |
+ .ForInNext(reg, reg, reg, reg) |
+ .ForInStep(reg); |
// Wide constant pool loads |
for (int i = 0; i < 256; i++) { |