Changes in directory llvm/lib/CodeGen/SelectionDAG:

SelectionDAGISel.cpp updated: 1.348 -> 1.349
---
Log message:

Arguments are counting from 1. not from 0. Maybe we should change 
numbering somehow? E.g. make return argument the last?


---
Diffs of the changes:  (+1 -1)

 SelectionDAGISel.cpp |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)


Index: llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
diff -u llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp:1.348 
llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp:1.349
--- llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp:1.348    Sun Jan 28 
10:04:40 2007
+++ llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp  Sun Jan 28 12:01:49 2007
@@ -2874,7 +2874,7 @@
 
   // Add one result value for each formal argument.
   std::vector<MVT::ValueType> RetVals;
-  unsigned j = 0;
+  unsigned j = 1;
   for (Function::arg_iterator I = F.arg_begin(), E = F.arg_end();
        I != E; ++I, ++j) {
     MVT::ValueType VT = getValueType(I->getType());



_______________________________________________
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits

Reply via email to