diff options
author | Eric Christopher <echristo@gmail.com> | 2014-06-10 22:34:31 +0000 |
---|---|---|
committer | Eric Christopher <echristo@gmail.com> | 2014-06-10 22:34:31 +0000 |
commit | c6e5ff46be3c8d4a91a9d3dfe9c486991f19ef00 (patch) | |
tree | 9323c98456e670477293ea33a92c44f30b1dc626 /lib/Target/X86/X86Subtarget.cpp | |
parent | c72fe200addad20664175c26784ff8695ce5de00 (diff) |
Remove the use of TargetMachine from X86InstrInfo.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@210596 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/X86/X86Subtarget.cpp')
-rw-r--r-- | lib/Target/X86/X86Subtarget.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/X86/X86Subtarget.cpp b/lib/Target/X86/X86Subtarget.cpp index fab707e610b..29c44adaa29 100644 --- a/lib/Target/X86/X86Subtarget.cpp +++ b/lib/Target/X86/X86Subtarget.cpp @@ -351,7 +351,7 @@ X86Subtarget::X86Subtarget(const std::string &TT, const std::string &CPU, resetSubtargetFeatures(CPU, FS); // Ordering here is important. X86InstrInfo initializes X86RegisterInfo which // X86TargetLowering needs. - InstrInfo = new X86InstrInfo(TM); + InstrInfo = new X86InstrInfo(*this); TLInfo = new X86TargetLowering(TM); FrameLowering = new X86FrameLowering(TargetFrameLowering::StackGrowsDown, getStackAlignment(), |