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 6597a675abc4aa7b34eb42fb0ceaf0947060bfb9..5fa6b934733307f0e961a72da2cf2149996603d0 100644 |
--- a/test/unittests/interpreter/bytecode-array-builder-unittest.cc |
+++ b/test/unittests/interpreter/bytecode-array-builder-unittest.cc |
@@ -138,7 +138,8 @@ TEST_F(BytecodeArrayBuilderTest, AllBytecodesGenerated) { |
.CallRuntime(Runtime::kIsArray, reg) |
.CallRuntimeForPair(Runtime::kLoadLookupSlotForCall, reg_list, pair) |
.CallJSRuntime(Context::SPREAD_ITERABLE_INDEX, reg_list) |
- .NewWithSpread(reg, reg_list); |
+ .NewWithSpread(reg, reg_list) |
+ .CallWithSpread(reg_list); |
// Emit binary operator invocations. |
builder.BinaryOperation(Token::Value::ADD, reg, 1) |