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 9b79aa329f18ec75111a2e918f9744bd62943c7f..30202c9d7252c9b42c544b9778f4782ce430e8df 100644 |
--- a/test/unittests/interpreter/bytecode-array-builder-unittest.cc |
+++ b/test/unittests/interpreter/bytecode-array-builder-unittest.cc |
@@ -99,8 +99,9 @@ TEST_F(BytecodeArrayBuilderTest, AllBytecodesGenerated) { |
.CreateObjectLiteral(0, 0); |
// Call operations. |
- builder.Call(reg, reg, 0); |
- builder.CallRuntime(Runtime::kIsArray, reg, 1); |
+ builder.Call(reg, reg, 0) |
+ .CallRuntime(Runtime::kIsArray, reg, 1) |
+ .CallJSRuntime(Context::SPREAD_ITERABLE_INDEX, reg, 1); |
// Emit binary operator invocations. |
builder.BinaryOperation(Token::Value::ADD, reg, Strength::WEAK) |