diff options
author | Chris Lattner <sabre@nondot.org> | 2010-04-05 02:23:33 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2010-04-05 02:23:33 +0000 |
commit | ba79d72eab446e64d360e8263d77732b5e13d556 (patch) | |
tree | 061b99fedc232841933b9b30708edd4c40eb72ca /lib/CodeGen/SelectionDAG/SelectionDAG.cpp | |
parent | d850ac79b57e6e0bf68ee93a94d0b3dcd9f6ca35 (diff) | |
download | external_llvm-ba79d72eab446e64d360e8263d77732b5e13d556.zip external_llvm-ba79d72eab446e64d360e8263d77732b5e13d556.tar.gz external_llvm-ba79d72eab446e64d360e8263d77732b5e13d556.tar.bz2 |
selection dag doesn't need DwarfWriter, remove some tendrils.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@100382 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/SelectionDAG/SelectionDAG.cpp')
-rw-r--r-- | lib/CodeGen/SelectionDAG/SelectionDAG.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/CodeGen/SelectionDAG/SelectionDAG.cpp b/lib/CodeGen/SelectionDAG/SelectionDAG.cpp index 7291c5a..7dea29c 100644 --- a/lib/CodeGen/SelectionDAG/SelectionDAG.cpp +++ b/lib/CodeGen/SelectionDAG/SelectionDAG.cpp @@ -793,7 +793,7 @@ unsigned SelectionDAG::getEVTAlignment(EVT VT) const { // EntryNode could meaningfully have debug info if we can find it... SelectionDAG::SelectionDAG(TargetLowering &tli, FunctionLoweringInfo &fli) - : TLI(tli), FLI(fli), DW(0), + : TLI(tli), FLI(fli), EntryNode(ISD::EntryToken, DebugLoc(), getVTList(MVT::Other)), Root(getEntryNode()), Ordering(0) { AllNodes.push_back(&EntryNode); @@ -801,11 +801,9 @@ SelectionDAG::SelectionDAG(TargetLowering &tli, FunctionLoweringInfo &fli) DbgInfo = new SDDbgInfo(); } -void SelectionDAG::init(MachineFunction &mf, MachineModuleInfo *mmi, - DwarfWriter *dw) { +void SelectionDAG::init(MachineFunction &mf, MachineModuleInfo *mmi) { MF = &mf; MMI = mmi; - DW = dw; Context = &mf.getFunction()->getContext(); } |