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/PHIElimination.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/PHIElimination.cpp')
-rw-r--r-- | llvm/lib/CodeGen/PHIElimination.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/PHIElimination.cpp b/llvm/lib/CodeGen/PHIElimination.cpp index 0cfeb2408a8..895dadde5cd 100644 --- a/llvm/lib/CodeGen/PHIElimination.cpp +++ b/llvm/lib/CodeGen/PHIElimination.cpp @@ -66,7 +66,7 @@ bool PNE::EliminatePHINodes(MachineFunction &MF, MachineBasicBlock &MBB) { return false; // Quick exit for normal case... LiveVariables *LV = getAnalysisToUpdate<LiveVariables>(); - const TargetInstrInfo &MII = MF.getTarget().getInstrInfo(); + const TargetInstrInfo &MII = *MF.getTarget().getInstrInfo(); const MRegisterInfo *RegInfo = MF.getTarget().getRegisterInfo(); // VRegPHIUseCount - Keep track of the number of times each virtual register |