Index: src/interpreter/bytecode-array-builder.cc |
diff --git a/src/interpreter/bytecode-array-builder.cc b/src/interpreter/bytecode-array-builder.cc |
index 58d7d6df414059e9812d786905ecd84a014a2ece..f0b54d9cd7e335ac45a0e336b06aa8e003ce3df0 100644 |
--- a/src/interpreter/bytecode-array-builder.cc |
+++ b/src/interpreter/bytecode-array-builder.cc |
@@ -947,8 +947,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; |
} |