commit | e922c0201916e0b980ab3cfe91e1413e68d55647 | [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 | 7cf12c7efd37dc12c3ed536a3f4c373dddac2b85 [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() {