Index: src/x64/macro-assembler-x64.h |
diff --git a/src/x64/macro-assembler-x64.h b/src/x64/macro-assembler-x64.h |
index faa6a703ddb812664eb1ac946c22e34794b9ca3a..62864e1cdbb78685f882c08a99e5f655b9aee364 100644 |
--- a/src/x64/macro-assembler-x64.h |
+++ b/src/x64/macro-assembler-x64.h |
@@ -372,6 +372,7 @@ class MacroAssembler: public Assembler { |
// Invoke the JavaScript function code by either calling or jumping. |
void InvokeCode(Register code, |
+ Register new_target, |
const ParameterCount& expected, |
const ParameterCount& actual, |
InvokeFlag flag, |
@@ -380,11 +381,13 @@ class MacroAssembler: public Assembler { |
// Invoke the JavaScript function in the given register. Changes the |
// current context to the context in the function before invoking. |
void InvokeFunction(Register function, |
+ Register new_target, |
const ParameterCount& actual, |
InvokeFlag flag, |
const CallWrapper& call_wrapper); |
void InvokeFunction(Register function, |
+ Register new_target, |
const ParameterCount& expected, |
const ParameterCount& actual, |
InvokeFlag flag, |
@@ -1588,8 +1591,8 @@ class MacroAssembler: public Assembler { |
Label* done, |
bool* definitely_mismatches, |
InvokeFlag flag, |
- Label::Distance near_jump = Label::kFar, |
- const CallWrapper& call_wrapper = NullCallWrapper()); |
+ Label::Distance near_jump, |
+ const CallWrapper& call_wrapper); |
void EnterExitFramePrologue(bool save_rax); |