| Index: src/compiler/arm64/instruction-selector-arm64.cc
|
| diff --git a/src/compiler/arm64/instruction-selector-arm64.cc b/src/compiler/arm64/instruction-selector-arm64.cc
|
| index 557fe864615429f2f208c2acc71ba9139f684eae..2ef79d8767b19fc4facfaaa2374a2a7cd4a78a05 100644
|
| --- a/src/compiler/arm64/instruction-selector-arm64.cc
|
| +++ b/src/compiler/arm64/instruction-selector-arm64.cc
|
| @@ -1643,7 +1643,7 @@ void InstructionSelector::EmitPrepareArguments(
|
| }
|
| // TODO(titzer): claim and poke probably take small immediates.
|
| // Bump the stack pointer(s).
|
| - if (claim_count > 0) {
|
| + if (claim_count > 0 || to_native_stack) {
|
| // TODO(titzer): it would be better to bump the csp here only
|
| // and emit paired stores with increment for non c frames.
|
| ArchOpcode claim = to_native_stack ? kArm64ClaimCSP : kArm64ClaimJSSP;
|
|
|