Changes in directory llvm/lib/Target/ARM:

ARMISelDAGToDAG.cpp updated: 1.51 -> 1.52
---
Log message:

use a const ref for passing the vector to ArgumentLayout


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

 ARMISelDAGToDAG.cpp |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)


Index: llvm/lib/Target/ARM/ARMISelDAGToDAG.cpp
diff -u llvm/lib/Target/ARM/ARMISelDAGToDAG.cpp:1.51 
llvm/lib/Target/ARM/ARMISelDAGToDAG.cpp:1.52
--- llvm/lib/Target/ARM/ARMISelDAGToDAG.cpp:1.51        Thu Oct  5 11:48:49 2006
+++ llvm/lib/Target/ARM/ARMISelDAGToDAG.cpp     Thu Oct  5 12:46:48 2006
@@ -134,12 +134,12 @@
   std::vector<unsigned>       pos;
   std::vector<MVT::ValueType> types;
 public:
-  ArgumentLayout(std::vector<MVT::ValueType> Types) {
+  ArgumentLayout(const std::vector<MVT::ValueType> &Types) {
     types = Types;
 
     unsigned      RegNum = 0;
     unsigned StackOffset = 0;
-    for(std::vector<MVT::ValueType>::iterator I = Types.begin();
+    for(std::vector<MVT::ValueType>::const_iterator I = Types.begin();
         I != Types.end();
         ++I) {
       MVT::ValueType VT = *I;



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

Reply via email to