From ad411081fb59da1db9771ae19e4d29c9af2d92ec Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Sat, 14 May 2005 06:42:57 +0000 Subject: [PATCH] Wrap long line, actually add node to the graph. llvm-svn: 22011 --- lib/CodeGen/SelectionDAG/SelectionDAG.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/CodeGen/SelectionDAG/SelectionDAG.cpp b/lib/CodeGen/SelectionDAG/SelectionDAG.cpp index 90d00cfba8d..6064598ff2b 100644 --- a/lib/CodeGen/SelectionDAG/SelectionDAG.cpp +++ b/lib/CodeGen/SelectionDAG/SelectionDAG.cpp @@ -1463,6 +1463,7 @@ SDOperand SelectionDAG::getNode(unsigned Opcode, if (N) return SDOperand(N, 0); N = new SDNode(Opcode, Ops); N->setValueTypes(ResultTys); + AllNodes.push_back(N); return SDOperand(N, 0); } @@ -1572,7 +1573,8 @@ SDOperand SelectionDAG::getNode(unsigned Opcode, MVT::ValueType VT,SDOperand N1, } SDOperand SelectionDAG::getNode(unsigned Opcode, MVT::ValueType VT,SDOperand N1, - SDOperand N2, SDOperand N3, SDOperand N4, MVT::ValueType EVT) { + SDOperand N2, SDOperand N3, SDOperand N4, + MVT::ValueType EVT) { switch (Opcode) { default: assert(0 && "Bad opcode for this accessor!"); case ISD::TRUNCSTORE: