diff options
| author | Chris Lattner <sabre@nondot.org> | 2004-06-02 05:57:12 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2004-06-02 05:57:12 +0000 |
| commit | 2150542af9c47a6c6614ec5900f7eb021211d8b5 (patch) | |
| tree | 3b30ef91418e526cf08e4ccd73bd98dffc29b926 /llvm/lib/CodeGen/TwoAddressInstructionPass.cpp | |
| parent | 185fa54c689ab5bb8f97ee776def598ccfa74566 (diff) | |
| download | bcm5719-llvm-2150542af9c47a6c6614ec5900f7eb021211d8b5.tar.gz bcm5719-llvm-2150542af9c47a6c6614ec5900f7eb021211d8b5.zip | |
Adjust to new TargetMachine interface
llvm-svn: 13956
Diffstat (limited to 'llvm/lib/CodeGen/TwoAddressInstructionPass.cpp')
| -rw-r--r-- | llvm/lib/CodeGen/TwoAddressInstructionPass.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/TwoAddressInstructionPass.cpp b/llvm/lib/CodeGen/TwoAddressInstructionPass.cpp index a992baffad1..066260c241a 100644 --- a/llvm/lib/CodeGen/TwoAddressInstructionPass.cpp +++ b/llvm/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; |

