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 | 634412fe35dde3e9da8fb5732aa78cbb1f74f7f4 (patch) | |
tree | 9d5f6a09a8eb0d5cb5a9b71a7107962c51611156 /llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp | |
parent | 991e99d980e5433d88137a0bfed7dae62ffe0eaa (diff) | |
download | bcm5719-llvm-634412fe35dde3e9da8fb5732aa78cbb1f74f7f4.tar.gz bcm5719-llvm-634412fe35dde3e9da8fb5732aa78cbb1f74f7f4.zip |
Clean up uses of TargetLowering::getTargetMachine.
llvm-svn: 55769
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp')
-rw-r--r-- | llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp b/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp index 1bada5eea2e..3626081c73f 100644 --- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp +++ b/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp @@ -302,7 +302,7 @@ ISD::CondCode ISD::getSetCCAndOperation(ISD::CondCode Op1, ISD::CondCode Op2, } const TargetMachine &SelectionDAG::getTarget() const { - return TLI.getTargetMachine(); + return MF->getTarget(); } //===----------------------------------------------------------------------===// |