mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-14 14:24:05 +00:00
80-column, tab characters, comment fixups.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@207473 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -281,8 +281,8 @@ bool PPCFrameLowering::needsFP(const MachineFunction &MF) const {
|
|||||||
|
|
||||||
// Naked functions have no stack frame pushed, so we don't have a frame
|
// Naked functions have no stack frame pushed, so we don't have a frame
|
||||||
// pointer.
|
// pointer.
|
||||||
if (MF.getFunction()->getAttributes().hasAttribute(AttributeSet::FunctionIndex,
|
if (MF.getFunction()->getAttributes().hasAttribute(
|
||||||
Attribute::Naked))
|
AttributeSet::FunctionIndex, Attribute::Naked))
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
return MF.getTarget().Options.DisableFramePointerElim(MF) ||
|
return MF.getTarget().Options.DisableFramePointerElim(MF) ||
|
||||||
@ -426,7 +426,8 @@ void PPCFrameLowering::emitPrologue(MachineFunction &MF) const {
|
|||||||
assert(FPIndex && "No Frame Pointer Save Slot!");
|
assert(FPIndex && "No Frame Pointer Save Slot!");
|
||||||
FPOffset = FFI->getObjectOffset(FPIndex);
|
FPOffset = FFI->getObjectOffset(FPIndex);
|
||||||
} else {
|
} else {
|
||||||
FPOffset = PPCFrameLowering::getFramePointerSaveOffset(isPPC64, isDarwinABI);
|
FPOffset =
|
||||||
|
PPCFrameLowering::getFramePointerSaveOffset(isPPC64, isDarwinABI);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -712,7 +713,8 @@ void PPCFrameLowering::emitEpilogue(MachineFunction &MF,
|
|||||||
assert(FPIndex && "No Frame Pointer Save Slot!");
|
assert(FPIndex && "No Frame Pointer Save Slot!");
|
||||||
FPOffset = FFI->getObjectOffset(FPIndex);
|
FPOffset = FFI->getObjectOffset(FPIndex);
|
||||||
} else {
|
} else {
|
||||||
FPOffset = PPCFrameLowering::getFramePointerSaveOffset(isPPC64, isDarwinABI);
|
FPOffset =
|
||||||
|
PPCFrameLowering::getFramePointerSaveOffset(isPPC64, isDarwinABI);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -1421,4 +1423,3 @@ PPCFrameLowering::restoreCalleeSavedRegisters(MachineBasicBlock &MBB,
|
|||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user