[llvm-commits] CVS: llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
Evan Cheng
evan.cheng at apple.com
Tue Apr 25 16:03:48 PDT 2006
Changes in directory llvm/lib/CodeGen/SelectionDAG:
SelectionDAGISel.cpp updated: 1.226 -> 1.227
---
Log message:
Don't forget return void.
---
Diffs of the changes: (+3 -0)
SelectionDAGISel.cpp | 3 +++
1 files changed, 3 insertions(+)
Index: llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
diff -u llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp:1.226 llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp:1.227
--- llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp:1.226 Sun Apr 23 01:26:20 2006
+++ llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp Tue Apr 25 18:03:35 2006
@@ -2385,6 +2385,9 @@
break;
}
}
+
+ if (RetVals.size() == 0)
+ RetVals.push_back(MVT::isVoid);
// Create the node.
SDNode *Result = DAG.getNode(ISD::FORMAL_ARGUMENTS, RetVals, Ops).Val;
More information about the llvm-commits
mailing list