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 | 512063dd0f91a76b9dd904dfff72a52b4d09e89f (patch) | |
tree | 269a1975e6d1e57ba0151a225524169fe1f4a950 /lib/CodeGen/SelectionDAG/SelectionDAG.cpp | |
parent | d2c4f19a9fd13790ee48ce182c1163476e2cd762 (diff) |
remove the now-redundant MMI pointer in SelectionDAG.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@100419 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/SelectionDAG/SelectionDAG.cpp')
-rw-r--r-- | lib/CodeGen/SelectionDAG/SelectionDAG.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/CodeGen/SelectionDAG/SelectionDAG.cpp b/lib/CodeGen/SelectionDAG/SelectionDAG.cpp index f26816aa0d..103872fe2a 100644 --- a/lib/CodeGen/SelectionDAG/SelectionDAG.cpp +++ b/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(); } |