commit | 175b6540352920afd47979cecb8c2667a3f7fdd3 | [log] [tgz] |
---|---|---|
author | Owen Anderson <resistor@mac.com> | Wed Jul 22 00:24:57 2009 +0000 |
committer | Owen Anderson <resistor@mac.com> | Wed Jul 22 00:24:57 2009 +0000 |
tree | 663be741b84470d97945f01da459a3627af683fd | |
parent | bdb23b3806e83737a67a023a729547caf03fc533 [diff] [blame] |
Get rid of the Pass+Context magic. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76702 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/CodeGen/SelectionDAG/SelectionDAG.cpp b/lib/CodeGen/SelectionDAG/SelectionDAG.cpp index 87ca13e..c2595bc 100644 --- a/lib/CodeGen/SelectionDAG/SelectionDAG.cpp +++ b/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
@@ -816,7 +816,7 @@ MF = &mf; MMI = mmi; DW = dw; - Context = mf.getFunction()->getContext(); + Context = &mf.getFunction()->getContext(); } SelectionDAG::~SelectionDAG() {