mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-20 14:29:27 +00:00
Only adjust esp around calls in presence of alloca.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40030 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
7e7bbf8271
commit
4558b807a2
@ -429,7 +429,7 @@ bool ARMRegisterInfo::hasReservedCallFrame(MachineFunction &MF) const {
|
||||
if (CFSize >= ((1 << 12) - 1) / 2) // Half of imm12
|
||||
return false;
|
||||
}
|
||||
return !hasFP(MF);
|
||||
return !MF.getFrameInfo()->hasVarSizedObjects();
|
||||
}
|
||||
|
||||
/// emitARMRegPlusImmediate - Emits a series of instructions to materialize
|
||||
|
Loading…
x
Reference in New Issue
Block a user