Index: src/interpreter/bytecode-array-builder.cc |
diff --git a/src/interpreter/bytecode-array-builder.cc b/src/interpreter/bytecode-array-builder.cc |
index 652c32d35dbcc48b3696d5e828daa941b0537b3f..b1deab0feaeb0a6075969b820768daf25c3392cb 100644 |
--- a/src/interpreter/bytecode-array-builder.cc |
+++ b/src/interpreter/bytecode-array-builder.cc |
@@ -950,8 +950,9 @@ BytecodeArrayBuilder& BytecodeArrayBuilder::CallJSRuntime(int context_index, |
return *this; |
} |
-BytecodeArrayBuilder& BytecodeArrayBuilder::NewWithSpread(RegisterList args) { |
- OutputNewWithSpread(args, args.register_count()); |
+BytecodeArrayBuilder& BytecodeArrayBuilder::NewWithSpread(Register constructor, |
+ RegisterList args) { |
+ OutputNewWithSpread(constructor, args, args.register_count()); |
return *this; |
} |