mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-11-01 00:17:01 +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:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user