commit | 47db941fd3e5a698c4417e38686ff6da6b2d81ee | [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 | f1bc8ce05f4b4c0c6f5eb775c3e5b12eda35e2f1 | |
parent | 4565ef5b65b7d0b778b41836d70b806196cc8e24 [diff] [blame] |
Get rid of the Pass+Context magic. llvm-svn: 76702
diff --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp b/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp index 87ca13e..c2595bc 100644 --- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp +++ b/llvm/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() {