mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-28 07:05:03 +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;
|
return Objs;
|
||||||
}
|
}
|
||||||
|
|
||||||
void X86TargetLowering::PreprocessCCCArguments(std::vector<SDOperand>Args,
|
void X86TargetLowering::PreprocessCCCArguments(std::vector<SDOperand> &Args,
|
||||||
Function &F, SelectionDAG &DAG) {
|
Function &F, SelectionDAG &DAG) {
|
||||||
unsigned NumArgs = Args.size();
|
unsigned NumArgs = Args.size();
|
||||||
MachineFunction &MF = DAG.getMachineFunction();
|
MachineFunction &MF = DAG.getMachineFunction();
|
||||||
@ -895,7 +895,7 @@ HowToPassFastCCArgument(MVT::ValueType ObjectVT,
|
|||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
X86TargetLowering::PreprocessFastCCArguments(std::vector<SDOperand>Args,
|
X86TargetLowering::PreprocessFastCCArguments(std::vector<SDOperand> &Args,
|
||||||
Function &F, SelectionDAG &DAG) {
|
Function &F, SelectionDAG &DAG) {
|
||||||
unsigned NumArgs = Args.size();
|
unsigned NumArgs = Args.size();
|
||||||
MachineFunction &MF = DAG.getMachineFunction();
|
MachineFunction &MF = DAG.getMachineFunction();
|
||||||
|
@ -369,7 +369,7 @@ namespace llvm {
|
|||||||
std::vector<std::pair<FALocInfo, FALocInfo> > FormalArgLocs;
|
std::vector<std::pair<FALocInfo, FALocInfo> > FormalArgLocs;
|
||||||
|
|
||||||
// C Calling Convention implementation.
|
// C Calling Convention implementation.
|
||||||
void PreprocessCCCArguments(std::vector<SDOperand>Args, Function &F,
|
void PreprocessCCCArguments(std::vector<SDOperand> &Args, Function &F,
|
||||||
SelectionDAG &DAG);
|
SelectionDAG &DAG);
|
||||||
void LowerCCCArguments(SDOperand Op, SelectionDAG &DAG);
|
void LowerCCCArguments(SDOperand Op, SelectionDAG &DAG);
|
||||||
std::pair<SDOperand, SDOperand>
|
std::pair<SDOperand, SDOperand>
|
||||||
@ -379,7 +379,7 @@ namespace llvm {
|
|||||||
|
|
||||||
// Fast Calling Convention implementation.
|
// Fast Calling Convention implementation.
|
||||||
void
|
void
|
||||||
PreprocessFastCCArguments(std::vector<SDOperand>Args, Function &F,
|
PreprocessFastCCArguments(std::vector<SDOperand> &Args, Function &F,
|
||||||
SelectionDAG &DAG);
|
SelectionDAG &DAG);
|
||||||
void
|
void
|
||||||
LowerFastCCArguments(SDOperand Op, SelectionDAG &DAG);
|
LowerFastCCArguments(SDOperand Op, SelectionDAG &DAG);
|
||||||
|
Loading…
Reference in New Issue
Block a user