summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/LiveVariables.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
commit2150542af9c47a6c6614ec5900f7eb021211d8b5 (patch)
tree3b30ef91418e526cf08e4ccd73bd98dffc29b926 /llvm/lib/CodeGen/LiveVariables.cpp
parent185fa54c689ab5bb8f97ee776def598ccfa74566 (diff)
downloadbcm5719-llvm-2150542af9c47a6c6614ec5900f7eb021211d8b5.tar.gz
bcm5719-llvm-2150542af9c47a6c6614ec5900f7eb021211d8b5.zip
Adjust to new TargetMachine interface
llvm-svn: 13956
Diffstat (limited to 'llvm/lib/CodeGen/LiveVariables.cpp')
-rw-r--r--llvm/lib/CodeGen/LiveVariables.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/LiveVariables.cpp b/llvm/lib/CodeGen/LiveVariables.cpp
index f1a7d9eb0fd..f652e0981da 100644
--- a/llvm/lib/CodeGen/LiveVariables.cpp
+++ b/llvm/lib/CodeGen/LiveVariables.cpp
@@ -159,7 +159,7 @@ void LiveVariables::HandlePhysRegDef(unsigned Reg, MachineInstr *MI) {
}
bool LiveVariables::runOnMachineFunction(MachineFunction &MF) {
- const TargetInstrInfo &TII = MF.getTarget().getInstrInfo();
+ const TargetInstrInfo &TII = *MF.getTarget().getInstrInfo();
RegInfo = MF.getTarget().getRegisterInfo();
assert(RegInfo && "Target doesn't have register information?");
OpenPOWER on IntegriCloud