summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-04-05 02:23:33 +0000
committerChris Lattner <sabre@nondot.org>2010-04-05 02:23:33 +0000
commitab5dc34351c8f64ed8f59d8deadf8472830d5771 (patch)
tree9bca433b7e7f075832ce0d16e001f22607ce1b08 /llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
parent7cfa70e9b33a5a6c352fe71d668a7f3c12224a91 (diff)
downloadbcm5719-llvm-ab5dc34351c8f64ed8f59d8deadf8472830d5771.tar.gz
bcm5719-llvm-ab5dc34351c8f64ed8f59d8deadf8472830d5771.zip
selection dag doesn't need DwarfWriter, remove some tendrils.
llvm-svn: 100382
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp')
-rw-r--r--llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp b/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
index 7291c5acbb3..7dea29c8c7b 100644
--- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
+++ b/llvm/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();
}
OpenPOWER on IntegriCloud