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 3a75fc0f0210a6c133ddad6d2271170dfcc75768..9306f4e2cfdcb85156e28458e1d9f9840f35d5c4 100644 |
--- a/test/unittests/interpreter/bytecode-array-builder-unittest.cc |
+++ b/test/unittests/interpreter/bytecode-array-builder-unittest.cc |
@@ -135,7 +135,8 @@ TEST_F(BytecodeArrayBuilderTest, AllBytecodesGenerated) { |
.Call(reg, reg_list, 1, Call::GLOBAL_CALL, TailCallMode::kAllow) |
.CallRuntime(Runtime::kIsArray, reg) |
.CallRuntimeForPair(Runtime::kLoadLookupSlotForCall, reg_list, pair) |
- .CallJSRuntime(Context::SPREAD_ITERABLE_INDEX, reg_list); |
+ .CallJSRuntime(Context::SPREAD_ITERABLE_INDEX, reg_list) |
+ .NewWithSpread(reg_list); |
// Emit binary operator invocations. |
builder.BinaryOperation(Token::Value::ADD, reg, 1) |