Wrap long line, actually add node to the graph.
llvm-svn: 22011
diff --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp b/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
index 90d00cf..6064598 100644
--- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
+++ b/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
@@ -1463,6 +1463,7 @@
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 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: