Index: src/interpreter/bytecode-array-builder.cc |
diff --git a/src/interpreter/bytecode-array-builder.cc b/src/interpreter/bytecode-array-builder.cc |
index 257e2b2bb01d9e4ee073320c49f6f3b2bf86a271..9d77056c5c4215d11a15b200cef858102941aa34 100644 |
--- a/src/interpreter/bytecode-array-builder.cc |
+++ b/src/interpreter/bytecode-array-builder.cc |
@@ -905,10 +905,16 @@ BytecodeArrayBuilder& BytecodeArrayBuilder::CallWithSpread(Register callable, |
return *this; |
} |
-BytecodeArrayBuilder& BytecodeArrayBuilder::New(Register constructor, |
- RegisterList args, |
- int feedback_slot_id) { |
- OutputNew(constructor, args, args.register_count(), feedback_slot_id); |
+BytecodeArrayBuilder& BytecodeArrayBuilder::Construct(Register constructor, |
+ RegisterList args, |
+ int feedback_slot_id) { |
+ OutputConstruct(constructor, args, args.register_count(), feedback_slot_id); |
+ return *this; |
+} |
+ |
+BytecodeArrayBuilder& BytecodeArrayBuilder::ConstructWithSpread( |
+ Register constructor, RegisterList args) { |
+ OutputConstructWithSpread(constructor, args, args.register_count()); |
return *this; |
} |
@@ -961,12 +967,6 @@ BytecodeArrayBuilder& BytecodeArrayBuilder::CallJSRuntime(int context_index, |
return *this; |
} |
-BytecodeArrayBuilder& BytecodeArrayBuilder::NewWithSpread(Register constructor, |
- RegisterList args) { |
- OutputNewWithSpread(constructor, args, args.register_count()); |
- return *this; |
-} |
- |
BytecodeArrayBuilder& BytecodeArrayBuilder::Delete(Register object, |
LanguageMode language_mode) { |
if (language_mode == SLOPPY) { |