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
This commit is contained in:
Chris Lattner 2005-05-14 06:42:57 +00:00
parent d73cc5d058
commit 5fa4fa4e0f

View File

@ -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: