| Index: src/arm64/full-codegen-arm64.cc
|
| diff --git a/src/arm64/full-codegen-arm64.cc b/src/arm64/full-codegen-arm64.cc
|
| index 2a9b9f12d14537d264b7e809ede179dda88ba734..ba3b5d086e6a515f24d7c8e012707dcd181eb9ea 100644
|
| --- a/src/arm64/full-codegen-arm64.cc
|
| +++ b/src/arm64/full-codegen-arm64.cc
|
| @@ -459,7 +459,7 @@ void FullCodeGenerator::EmitReturnSequence() {
|
| // TODO(all): This implementation is overkill as it supports 2**31+1
|
| // arguments, consider how to improve it without creating a security
|
| // hole.
|
| - __ LoadLiteral(ip0, 3 * kInstructionSize);
|
| + __ ldr_pcrel(ip0, (3 * kInstructionSize) >> kLoadLiteralScaleLog2);
|
| __ add(current_sp, current_sp, ip0);
|
| __ ret();
|
| __ dc64(kXRegSize * (info_->scope()->num_parameters() + 1));
|
|
|