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