diff --git a/lib/Target/X86/X86ISelLowering.cpp b/lib/Target/X86/X86ISelLowering.cpp index 3d0194126d7..849b8d5eae9 100644 --- a/lib/Target/X86/X86ISelLowering.cpp +++ b/lib/Target/X86/X86ISelLowering.cpp @@ -461,7 +461,7 @@ static std::vector getFormalArgObjects(SDOperand Op) { return Objs; } -void X86TargetLowering::PreprocessCCCArguments(std::vectorArgs, +void X86TargetLowering::PreprocessCCCArguments(std::vector &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::vectorArgs, +X86TargetLowering::PreprocessFastCCArguments(std::vector &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 f20a65c635b..0d93ec4294f 100644 --- a/lib/Target/X86/X86ISelLowering.h +++ b/lib/Target/X86/X86ISelLowering.h @@ -369,7 +369,7 @@ namespace llvm { std::vector > FormalArgLocs; // C Calling Convention implementation. - void PreprocessCCCArguments(std::vectorArgs, Function &F, + void PreprocessCCCArguments(std::vector &Args, Function &F, SelectionDAG &DAG); void LowerCCCArguments(SDOperand Op, SelectionDAG &DAG); std::pair @@ -379,7 +379,7 @@ namespace llvm { // Fast Calling Convention implementation. void - PreprocessFastCCArguments(std::vectorArgs, Function &F, + PreprocessFastCCArguments(std::vector &Args, Function &F, SelectionDAG &DAG); void LowerFastCCArguments(SDOperand Op, SelectionDAG &DAG);