summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-04-05 06:19:28 +0000
committerChris Lattner <sabre@nondot.org>2010-04-05 06:19:28 +0000
commitfb964e57e515ecdf96f18482fda81f15b4452e47 (patch)
treeaa4a86ad97c7fe36b42f65c076088316275573c7 /llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
parent28f2fdafcd766ba69ec8e335e431c457605dbddb (diff)
downloadbcm5719-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.cpp3
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();
}
OpenPOWER on IntegriCloud