summaryrefslogtreecommitdiff
path: root/lib/CodeGen/TwoAddressInstructionPass.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2004-06-02 05:57:12 +0000
committerChris Lattner <sabre@nondot.org>2004-06-02 05:57:12 +0000
commit9bcdcd17c7219dbc68de2f11ca2de86471c8c390 (patch)
tree60173becc7cd0c79edcc9869fd6d82d0b4cd5f86 /lib/CodeGen/TwoAddressInstructionPass.cpp
parent62d6ad2cee0e6b7fa653c8903a951f8497b6da3a (diff)
downloadllvm-9bcdcd17c7219dbc68de2f11ca2de86471c8c390.tar.gz
llvm-9bcdcd17c7219dbc68de2f11ca2de86471c8c390.tar.bz2
llvm-9bcdcd17c7219dbc68de2f11ca2de86471c8c390.tar.xz
Adjust to new TargetMachine interface
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13956 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/TwoAddressInstructionPass.cpp')
-rw-r--r--lib/CodeGen/TwoAddressInstructionPass.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/TwoAddressInstructionPass.cpp b/lib/CodeGen/TwoAddressInstructionPass.cpp
index a992baffad..066260c241 100644
--- a/lib/CodeGen/TwoAddressInstructionPass.cpp
+++ b/lib/CodeGen/TwoAddressInstructionPass.cpp
@@ -77,7 +77,7 @@ bool TwoAddressInstructionPass::runOnMachineFunction(MachineFunction &MF) {
DEBUG(std::cerr << "Machine Function\n");
const TargetMachine &TM = MF.getTarget();
const MRegisterInfo &MRI = *TM.getRegisterInfo();
- const TargetInstrInfo &TII = TM.getInstrInfo();
+ const TargetInstrInfo &TII = *TM.getInstrInfo();
LiveVariables* LV = getAnalysisToUpdate<LiveVariables>();
bool MadeChange = false;