Index: src/compiler/interpreter-assembler.cc |
diff --git a/src/compiler/interpreter-assembler.cc b/src/compiler/interpreter-assembler.cc |
index ed056cfe563cfc24497c865321cd3e0c126ac06e..84d7c878a5fc3e978f26d4d4ac2f47f1613edad5 100644 |
--- a/src/compiler/interpreter-assembler.cc |
+++ b/src/compiler/interpreter-assembler.cc |
@@ -352,9 +352,8 @@ Node* InterpreterAssembler::LoadTypeFeedbackVector() { |
} |
-Node* InterpreterAssembler::CallConstruct(Node* original_constructor, |
- Node* constructor, Node* first_arg, |
- Node* arg_count) { |
+Node* InterpreterAssembler::CallConstruct(Node* new_target, Node* constructor, |
+ Node* first_arg, Node* arg_count) { |
Callable callable = CodeFactory::InterpreterPushArgsAndConstruct(isolate()); |
CallDescriptor* descriptor = Linkage::GetStubCallDescriptor( |
isolate(), zone(), callable.descriptor(), 0, CallDescriptor::kNoFlags); |
@@ -363,7 +362,7 @@ Node* InterpreterAssembler::CallConstruct(Node* original_constructor, |
Node** args = zone()->NewArray<Node*>(5); |
args[0] = arg_count; |
- args[1] = original_constructor; |
+ args[1] = new_target; |
args[2] = constructor; |
args[3] = first_arg; |
args[4] = GetContext(); |