diff options
| author | Chris Lattner <sabre@nondot.org> | 2004-06-02 05:55:25 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2004-06-02 05:55:25 +0000 |
| commit | 82baa9c39411ee5bf1a035742cc2ff69bc40641b (patch) | |
| tree | 08213ed8d00773acba336116258681156abad4e5 /llvm/lib/Target/X86/InstSelectSimple.cpp | |
| parent | 535e8db0dafd8fde898be08e889aee63536ddefe (diff) | |
| download | bcm5719-llvm-82baa9c39411ee5bf1a035742cc2ff69bc40641b.tar.gz bcm5719-llvm-82baa9c39411ee5bf1a035742cc2ff69bc40641b.zip | |
Convert to the new TargetMachine interface.
llvm-svn: 13952
Diffstat (limited to 'llvm/lib/Target/X86/InstSelectSimple.cpp')
| -rw-r--r-- | llvm/lib/Target/X86/InstSelectSimple.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/X86/InstSelectSimple.cpp b/llvm/lib/Target/X86/InstSelectSimple.cpp index 494feb97c78..c6afdde1d0d 100644 --- a/llvm/lib/Target/X86/InstSelectSimple.cpp +++ b/llvm/lib/Target/X86/InstSelectSimple.cpp @@ -638,7 +638,7 @@ void ISel::LoadArgumentsToVirtualRegs(Function &Fn) { /// the current one. /// void ISel::SelectPHINodes() { - const TargetInstrInfo &TII = TM.getInstrInfo(); + const TargetInstrInfo &TII = *TM.getInstrInfo(); const Function &LF = *F->getFunction(); // The LLVM function... for (Function::const_iterator I = LF.begin(), E = LF.end(); I != E; ++I) { const BasicBlock *BB = I; |

