mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-20 16:17:38 +00:00
Fix fallout from getOffsetOfLocalArea() being negated. Debugging dumps were being
printed incorrectly, and we were reserving 8 extra bytes of stack space for functions on X86. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14152 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -201,7 +201,7 @@ void MachineFrameInfo::print(const MachineFunction &MF, std::ostream &OS) const{
|
||||
if (i < NumFixedObjects)
|
||||
OS << " fixed";
|
||||
if (i < NumFixedObjects || SO.SPOffset != -1) {
|
||||
int Off = SO.SPOffset + ValOffset;
|
||||
int Off = SO.SPOffset - ValOffset;
|
||||
OS << " at location [SP";
|
||||
if (Off > 0)
|
||||
OS << "+" << Off;
|
||||
|
||||
Reference in New Issue
Block a user