mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 04:30:23 +00:00
Fix some indentation.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@197357 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
f2f74bd826
commit
9969630d6d
@ -57,20 +57,20 @@ void Mips16FrameLowering::emitPrologue(MachineFunction &MF) const {
|
|||||||
const std::vector<CalleeSavedInfo> &CSI = MFI->getCalleeSavedInfo();
|
const std::vector<CalleeSavedInfo> &CSI = MFI->getCalleeSavedInfo();
|
||||||
|
|
||||||
if (CSI.size()) {
|
if (CSI.size()) {
|
||||||
MCSymbol *CSLabel = MMI.getContext().CreateTempSymbol();
|
MCSymbol *CSLabel = MMI.getContext().CreateTempSymbol();
|
||||||
BuildMI(MBB, MBBI, dl,
|
BuildMI(MBB, MBBI, dl,
|
||||||
TII.get(TargetOpcode::PROLOG_LABEL)).addSym(CSLabel);
|
TII.get(TargetOpcode::PROLOG_LABEL)).addSym(CSLabel);
|
||||||
|
|
||||||
|
|
||||||
const std::vector<CalleeSavedInfo> &CSI = MFI->getCalleeSavedInfo();
|
const std::vector<CalleeSavedInfo> &CSI = MFI->getCalleeSavedInfo();
|
||||||
|
|
||||||
for (std::vector<CalleeSavedInfo>::const_iterator I = CSI.begin(),
|
for (std::vector<CalleeSavedInfo>::const_iterator I = CSI.begin(),
|
||||||
E = CSI.end(); I != E; ++I) {
|
E = CSI.end(); I != E; ++I) {
|
||||||
int64_t Offset = MFI->getObjectOffset(I->getFrameIdx());
|
int64_t Offset = MFI->getObjectOffset(I->getFrameIdx());
|
||||||
unsigned Reg = I->getReg();
|
unsigned Reg = I->getReg();
|
||||||
unsigned DReg = MRI->getDwarfRegNum(Reg, true);
|
unsigned DReg = MRI->getDwarfRegNum(Reg, true);
|
||||||
MMI.addFrameInst(MCCFIInstruction::createOffset(CSLabel, DReg, Offset));
|
MMI.addFrameInst(MCCFIInstruction::createOffset(CSLabel, DReg, Offset));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (hasFP(MF))
|
if (hasFP(MF))
|
||||||
BuildMI(MBB, MBBI, dl, TII.get(Mips::MoveR3216), Mips::S0)
|
BuildMI(MBB, MBBI, dl, TII.get(Mips::MoveR3216), Mips::S0)
|
||||||
|
Loading…
Reference in New Issue
Block a user