mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-07 14:33:15 +00:00
[X86] Fix a variable name for r237977 so that it works with every compilers.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@237980 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
4ea24c84fb
commit
6b3b93fc8b
@ -43,7 +43,7 @@ public:
|
|||||||
const X86Subtarget *STI;
|
const X86Subtarget *STI;
|
||||||
const X86InstrInfo *TII;
|
const X86InstrInfo *TII;
|
||||||
const X86RegisterInfo *TRI;
|
const X86RegisterInfo *TRI;
|
||||||
const X86FrameLowering *X86FrameLowering;
|
const X86FrameLowering *X86FL;
|
||||||
|
|
||||||
bool runOnMachineFunction(MachineFunction &Fn) override;
|
bool runOnMachineFunction(MachineFunction &Fn) override;
|
||||||
|
|
||||||
@ -89,7 +89,7 @@ bool X86ExpandPseudo::ExpandMI(MachineBasicBlock &MBB,
|
|||||||
const bool Uses64BitFramePtr =
|
const bool Uses64BitFramePtr =
|
||||||
STI->isTarget64BitLP64() || STI->isTargetNaCl64();
|
STI->isTarget64BitLP64() || STI->isTargetNaCl64();
|
||||||
bool UseLEAForSP =
|
bool UseLEAForSP =
|
||||||
X86FrameLowering->useLEAForSPInProlog(*MBB.getParent());
|
X86FL->useLEAForSPInProlog(*MBB.getParent());
|
||||||
unsigned StackPtr = TRI->getStackRegister();
|
unsigned StackPtr = TRI->getStackRegister();
|
||||||
// Check for possible merge with preceding ADD instruction.
|
// Check for possible merge with preceding ADD instruction.
|
||||||
StackAdj += X86FrameLowering::mergeSPUpdates(MBB, MBBI, StackPtr, true);
|
StackAdj += X86FrameLowering::mergeSPUpdates(MBB, MBBI, StackPtr, true);
|
||||||
@ -174,7 +174,7 @@ bool X86ExpandPseudo::runOnMachineFunction(MachineFunction &MF) {
|
|||||||
STI = &static_cast<const X86Subtarget &>(MF.getSubtarget());
|
STI = &static_cast<const X86Subtarget &>(MF.getSubtarget());
|
||||||
TII = STI->getInstrInfo();
|
TII = STI->getInstrInfo();
|
||||||
TRI = STI->getRegisterInfo();
|
TRI = STI->getRegisterInfo();
|
||||||
X86FrameLowering = STI->getFrameLowering();
|
X86FL = STI->getFrameLowering();
|
||||||
|
|
||||||
bool Modified = false;
|
bool Modified = false;
|
||||||
for (MachineBasicBlock &MBB : MF)
|
for (MachineBasicBlock &MBB : MF)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user