[llvm-commits] CVS: llvm/lib/Target/X86/X86ISelLowering.cpp X86ISelLowering.h

Evan Cheng evan.cheng at apple.com
Wed May 17 12:07:52 PDT 2006



Changes in directory llvm/lib/Target/X86:

X86ISelLowering.cpp updated: 1.205 -> 1.206
X86ISelLowering.h updated: 1.61 -> 1.62
---
Log message:

Should pass by reference.

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

 X86ISelLowering.cpp |    4 ++--
 X86ISelLowering.h   |    4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)


Index: llvm/lib/Target/X86/X86ISelLowering.cpp
diff -u llvm/lib/Target/X86/X86ISelLowering.cpp:1.205 llvm/lib/Target/X86/X86ISelLowering.cpp:1.206
--- llvm/lib/Target/X86/X86ISelLowering.cpp:1.205	Tue May 16 12:14:26 2006
+++ llvm/lib/Target/X86/X86ISelLowering.cpp	Wed May 17 14:07:40 2006
@@ -461,7 +461,7 @@
   return Objs;
 }
 
-void X86TargetLowering::PreprocessCCCArguments(std::vector<SDOperand>Args,
+void X86TargetLowering::PreprocessCCCArguments(std::vector<SDOperand> &Args,
                                                Function &F, SelectionDAG &DAG) {
   unsigned NumArgs = Args.size();
   MachineFunction &MF = DAG.getMachineFunction();
@@ -895,7 +895,7 @@
 }
 
 void
-X86TargetLowering::PreprocessFastCCArguments(std::vector<SDOperand>Args,
+X86TargetLowering::PreprocessFastCCArguments(std::vector<SDOperand> &Args,
                                              Function &F, SelectionDAG &DAG) {
   unsigned NumArgs = Args.size();
   MachineFunction &MF = DAG.getMachineFunction();


Index: llvm/lib/Target/X86/X86ISelLowering.h
diff -u llvm/lib/Target/X86/X86ISelLowering.h:1.61 llvm/lib/Target/X86/X86ISelLowering.h:1.62
--- llvm/lib/Target/X86/X86ISelLowering.h:1.61	Wed Apr 26 20:32:22 2006
+++ llvm/lib/Target/X86/X86ISelLowering.h	Wed May 17 14:07:40 2006
@@ -369,7 +369,7 @@
     std::vector<std::pair<FALocInfo, FALocInfo> > FormalArgLocs;
 
     // C Calling Convention implementation.
-    void PreprocessCCCArguments(std::vector<SDOperand>Args, Function &F,
+    void PreprocessCCCArguments(std::vector<SDOperand> &Args, Function &F,
                                 SelectionDAG &DAG);
     void LowerCCCArguments(SDOperand Op, SelectionDAG &DAG);
     std::pair<SDOperand, SDOperand>
@@ -379,7 +379,7 @@
 
     // Fast Calling Convention implementation.
     void
-    PreprocessFastCCArguments(std::vector<SDOperand>Args, Function &F,
+    PreprocessFastCCArguments(std::vector<SDOperand> &Args, Function &F,
                               SelectionDAG &DAG);
     void
     LowerFastCCArguments(SDOperand Op, SelectionDAG &DAG);






More information about the llvm-commits mailing list