commit | 6e7a1617ac4a34792d9097b8d3644b72f57a45f7 | [log] [tgz] |
---|---|---|
author | Devang Patel <dpatel@apple.com> | Fri Jan 09 19:11:50 2009 +0000 |
committer | Devang Patel <dpatel@apple.com> | Fri Jan 09 19:11:50 2009 +0000 |
tree | 5d32e2e0d083e70e3d21eae9826cb32a54411816 | |
parent | ed78f431edaabd7c488d326bd599abffc2b8a53c [diff] [blame] |
Request DwarfWriter. This will be used to handle dbg_* intrinsics. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@61999 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/CodeGen/SelectionDAG/SelectionDAG.cpp b/lib/CodeGen/SelectionDAG/SelectionDAG.cpp index 5da693c..c755eac 100644 --- a/lib/CodeGen/SelectionDAG/SelectionDAG.cpp +++ b/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
@@ -772,9 +772,11 @@ AllNodes.push_back(&EntryNode); } -void SelectionDAG::init(MachineFunction &mf, MachineModuleInfo *mmi) { +void SelectionDAG::init(MachineFunction &mf, MachineModuleInfo *mmi, + DwarfWriter *dw) { MF = &mf; MMI = mmi; + DW = dw; } SelectionDAG::~SelectionDAG() {