mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-26 22:26:16 +00:00
Should pass by reference.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28357 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
4dfa85d1df
commit
4ac8974d02
@ -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();
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user