Index: src/arm64/code-stubs-arm64.cc |
diff --git a/src/arm64/code-stubs-arm64.cc b/src/arm64/code-stubs-arm64.cc |
index 4c242c05efe2f9de49ebaecf4d5654fe3d1b0c9c..e39e08831a077fce05ce5efa845b790552a52633 100644 |
--- a/src/arm64/code-stubs-arm64.cc |
+++ b/src/arm64/code-stubs-arm64.cc |
@@ -1067,8 +1067,6 @@ |
// Register parameters: |
// x0: argc (including receiver, untagged) |
// x1: target |
- // If argv_in_register(): |
- // x11: argv (pointer to first argument) |
// |
// The stack on entry holds the arguments and the receiver, with the receiver |
// at the highest address: |
@@ -1100,11 +1098,9 @@ |
// (arg[argc-2]), or just below the receiver in case there are no arguments. |
// - Adjust for the arg[] array. |
Register temp_argv = x11; |
- if (!argv_in_register()) { |
- __ Add(temp_argv, jssp, Operand(x0, LSL, kPointerSizeLog2)); |
- // - Adjust for the receiver. |
- __ Sub(temp_argv, temp_argv, 1 * kPointerSize); |
- } |
+ __ Add(temp_argv, jssp, Operand(x0, LSL, kPointerSizeLog2)); |
+ // - Adjust for the receiver. |
+ __ Sub(temp_argv, temp_argv, 1 * kPointerSize); |
// Enter the exit frame. Reserve three slots to preserve x21-x23 callee-saved |
// registers. |