aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/Target/X86/X86ISelLowering.cpp4
-rw-r--r--lib/Target/X86/X86ISelLowering.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/lib/Target/X86/X86ISelLowering.cpp b/lib/Target/X86/X86ISelLowering.cpp
index 3d0194126d..849b8d5eae 100644
--- a/lib/Target/X86/X86ISelLowering.cpp
+++ b/lib/Target/X86/X86ISelLowering.cpp
@@ -461,7 +461,7 @@ static std::vector<SDOperand> getFormalArgObjects(SDOperand Op) {
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 @@ HowToPassFastCCArgument(MVT::ValueType ObjectVT,
}
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();
diff --git a/lib/Target/X86/X86ISelLowering.h b/lib/Target/X86/X86ISelLowering.h
index f20a65c635..0d93ec4294 100644
--- a/lib/Target/X86/X86ISelLowering.h
+++ b/lib/Target/X86/X86ISelLowering.h
@@ -369,7 +369,7 @@ namespace llvm {
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 @@ namespace llvm {
// 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);