Index: src/arm64/builtins-arm64.cc |
diff --git a/src/arm64/builtins-arm64.cc b/src/arm64/builtins-arm64.cc |
index 6dd1dff64bbc5375cb03f95a25aa08af02226d35..726e9847d2fee0053bfd36525c3c6ddf453d3a9a 100644 |
--- a/src/arm64/builtins-arm64.cc |
+++ b/src/arm64/builtins-arm64.cc |
@@ -725,10 +725,9 @@ |
__ Mov(x4, x0); |
__ SmiTag(x4); |
__ LoadRoot(x10, Heap::kTheHoleValueRootIndex); |
- __ Push(x4, x3, x10); |
+ __ Push(x4, x10); |
// sp[0]: number of arguments |
- // sp[1]: new.target |
- // sp[2]: receiver (the hole) |
+ // sp[1]: receiver (the hole) |
// Set up pointer to last argument. |
@@ -740,8 +739,7 @@ |
// x1: constructor function |
// x2: address of last argument (caller sp) |
// jssp[0]: receiver |
- // jssp[1]: new.target |
- // jssp[2]: number of arguments (smi-tagged) |
+ // jssp[1]: number of arguments (smi-tagged) |
// Compute the start address of the copy in x4. |
__ Add(x4, x2, Operand(x0, LSL, kPointerSizeLog2)); |
Label loop, entry, done_copying_arguments; |
@@ -761,7 +759,6 @@ |
// Call the function. |
// x0: number of arguments |
// x1: constructor function |
- __ Add(x0, x0, Operand(1)); // new.target |
ParameterCount actual(x0); |
__ InvokeFunction(x1, actual, CALL_FUNCTION, NullCallWrapper()); |