From: Chris Lattner Date: Sat, 14 May 2005 06:42:57 +0000 (+0000) Subject: Wrap long line, actually add node to the graph. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=5fa4fa4e0fde8aebc55a05258d2a274f3c7e1df6;p=oota-llvm.git Wrap long line, actually add node to the graph. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22011 91177308-0d34-0410-b5e6-96231b3b80d8 --- 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: