diff options
author | Dan Gohman <gohman@apple.com> | 2008-09-04 15:39:15 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2008-09-04 15:39:15 +0000 |
commit | 6448d91ad1e5497fe2f7015d61b57cb5f3040879 (patch) | |
tree | b2b0275f484bd3953e8b38c941fdff9eaddec82f /lib/Target/CellSPU | |
parent | ef7803217a401e7be14ea26d70f12fb3ec7da66f (diff) | |
download | external_llvm-6448d91ad1e5497fe2f7015d61b57cb5f3040879.zip external_llvm-6448d91ad1e5497fe2f7015d61b57cb5f3040879.tar.gz external_llvm-6448d91ad1e5497fe2f7015d61b57cb5f3040879.tar.bz2 |
Clean up uses of TargetLowering::getTargetMachine.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@55769 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/CellSPU')
-rw-r--r-- | lib/Target/CellSPU/SPUISelDAGToDAG.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/CellSPU/SPUISelDAGToDAG.cpp b/lib/Target/CellSPU/SPUISelDAGToDAG.cpp index 9bf7c99..ec7e754 100644 --- a/lib/Target/CellSPU/SPUISelDAGToDAG.cpp +++ b/lib/Target/CellSPU/SPUISelDAGToDAG.cpp @@ -327,7 +327,7 @@ public: /// CreateTargetHazardRecognizer - Return the hazard recognizer to use for /// this target when scheduling the DAG. virtual HazardRecognizer *CreateTargetHazardRecognizer() { - const TargetInstrInfo *II = SPUtli.getTargetMachine().getInstrInfo(); + const TargetInstrInfo *II = TM.getInstrInfo(); assert(II && "No InstrInfo?"); return new SPUHazardRecognizer(*II); } |