summaryrefslogtreecommitdiff
path: root/lib/Target/X86/X86FrameLowering.cpp
diff options
context:
space:
mode:
authorReid Kleckner <reid@kleckner.net>2015-01-30 00:05:39 +0000
committerReid Kleckner <reid@kleckner.net>2015-01-30 00:05:39 +0000
commit4c757e0907cb279d3e61d572d852fea50f3bf90c (patch)
tree70f866ef75d2e24604a9f2198d55044d5bc89bb2 /lib/Target/X86/X86FrameLowering.cpp
parentc9fbc97e9553b257d35ba4507a478bc8fc9459fb (diff)
x86: Remove unused variables not caught by MSVC =P
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@227520 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/X86/X86FrameLowering.cpp')
-rw-r--r--lib/Target/X86/X86FrameLowering.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/Target/X86/X86FrameLowering.cpp b/lib/Target/X86/X86FrameLowering.cpp
index e8d0f12c569..f64e5d45dfb 100644
--- a/lib/Target/X86/X86FrameLowering.cpp
+++ b/lib/Target/X86/X86FrameLowering.cpp
@@ -416,8 +416,6 @@ void X86FrameLowering::emitStackProbeCall(MachineFunction &MF,
const X86Subtarget &STI = MF.getTarget().getSubtarget<X86Subtarget>();
bool Is64Bit = STI.is64Bit();
bool IsLargeCodeModel = MF.getTarget().getCodeModel() == CodeModel::Large;
- const X86RegisterInfo *RegInfo =
- static_cast<const X86RegisterInfo *>(MF.getSubtarget().getRegisterInfo());
unsigned CallOp;
if (Is64Bit)