diff options
| author | Chris Lattner <sabre@nondot.org> | 2010-04-05 06:19:28 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2010-04-05 06:19:28 +0000 |
| commit | fb964e57e515ecdf96f18482fda81f15b4452e47 (patch) | |
| tree | aa4a86ad97c7fe36b42f65c076088316275573c7 /llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp | |
| parent | 28f2fdafcd766ba69ec8e335e431c457605dbddb (diff) | |
| download | bcm5719-llvm-fb964e57e515ecdf96f18482fda81f15b4452e47.tar.gz bcm5719-llvm-fb964e57e515ecdf96f18482fda81f15b4452e47.zip | |
remove the now-redundant MMI pointer in SelectionDAG.
llvm-svn: 100419
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp')
| -rw-r--r-- | llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp b/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp index f26816aa0d0..103872fe2ad 100644 --- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp +++ b/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp @@ -803,7 +803,6 @@ SelectionDAG::SelectionDAG(TargetLowering &tli, FunctionLoweringInfo &fli) void SelectionDAG::init(MachineFunction &mf) { MF = &mf; - MMI = &mf.getMMI(); Context = &mf.getFunction()->getContext(); } @@ -2256,7 +2255,7 @@ bool SelectionDAG::isVerifiedDebugInfoDesc(SDValue Op) const { if (GA->getOffset() != 0) return false; GlobalVariable *GV = dyn_cast<GlobalVariable>(GA->getGlobal()); if (!GV) return false; - return MMI->hasDebugInfo(); + return MF->getMMI().hasDebugInfo(); } |

