diff options
| author | Quentin Colombet <qcolombet@apple.com> | 2015-05-22 00:41:03 +0000 |
|---|---|---|
| committer | Quentin Colombet <qcolombet@apple.com> | 2015-05-22 00:41:03 +0000 |
| commit | 04ac8fcbde0bc09a23d51f179183142d6cd6ae79 (patch) | |
| tree | 8f2533b92376b723cc265499603184d0041764a9 /llvm/lib/Target | |
| parent | ff4b13c5389ba1f0e1559b413a913f58a5c0ca07 (diff) | |
| download | bcm5719-llvm-04ac8fcbde0bc09a23d51f179183142d6cd6ae79.tar.gz bcm5719-llvm-04ac8fcbde0bc09a23d51f179183142d6cd6ae79.zip | |
[X86] Fix a variable name for r237977 so that it works with every compilers.
llvm-svn: 237980
Diffstat (limited to 'llvm/lib/Target')
| -rw-r--r-- | llvm/lib/Target/X86/X86ExpandPseudo.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/Target/X86/X86ExpandPseudo.cpp b/llvm/lib/Target/X86/X86ExpandPseudo.cpp index cfe83a740ff..29ca3736aca 100644 --- a/llvm/lib/Target/X86/X86ExpandPseudo.cpp +++ b/llvm/lib/Target/X86/X86ExpandPseudo.cpp @@ -43,7 +43,7 @@ public: const X86Subtarget *STI; const X86InstrInfo *TII; const X86RegisterInfo *TRI; - const X86FrameLowering *X86FrameLowering; + const X86FrameLowering *X86FL; bool runOnMachineFunction(MachineFunction &Fn) override; @@ -89,7 +89,7 @@ bool X86ExpandPseudo::ExpandMI(MachineBasicBlock &MBB, const bool Uses64BitFramePtr = STI->isTarget64BitLP64() || STI->isTargetNaCl64(); bool UseLEAForSP = - X86FrameLowering->useLEAForSPInProlog(*MBB.getParent()); + X86FL->useLEAForSPInProlog(*MBB.getParent()); unsigned StackPtr = TRI->getStackRegister(); // Check for possible merge with preceding ADD instruction. StackAdj += X86FrameLowering::mergeSPUpdates(MBB, MBBI, StackPtr, true); @@ -174,7 +174,7 @@ bool X86ExpandPseudo::runOnMachineFunction(MachineFunction &MF) { STI = &static_cast<const X86Subtarget &>(MF.getSubtarget()); TII = STI->getInstrInfo(); TRI = STI->getRegisterInfo(); - X86FrameLowering = STI->getFrameLowering(); + X86FL = STI->getFrameLowering(); bool Modified = false; for (MachineBasicBlock &MBB : MF) |

