mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-11-02 22:23:10 +00:00
Target: change member from reference to pointer
This is a preliminary step to help ease the construction of CallLoweringInfo. Changing the construction to a chained function pattern requires that the parameter be nullable. However, rather than copying the vector, save a pointer rather than the reference to permit a late binding of the arguments. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@209080 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -492,9 +492,9 @@ getOpndList(SmallVectorImpl<SDValue> &Ops,
|
||||
std::end(HardFloatLibCalls), Find))
|
||||
LookupHelper = false;
|
||||
}
|
||||
if (LookupHelper) Mips16HelperFunction =
|
||||
getMips16HelperFunction(CLI.RetTy, CLI.Args, NeedMips16Helper);
|
||||
|
||||
if (LookupHelper)
|
||||
Mips16HelperFunction =
|
||||
getMips16HelperFunction(CLI.RetTy, CLI.getArgs(), NeedMips16Helper);
|
||||
}
|
||||
|
||||
SDValue JumpTarget = Callee;
|
||||
|
||||
@@ -2329,7 +2329,7 @@ MipsTargetLowering::LowerCall(TargetLowering::CallLoweringInfo &CLI,
|
||||
|
||||
MipsCCInfo.analyzeCallOperands(Outs, IsVarArg,
|
||||
Subtarget->mipsSEUsesSoftFloat(),
|
||||
Callee.getNode(), CLI.Args);
|
||||
Callee.getNode(), CLI.getArgs());
|
||||
|
||||
// Get a count of how many bytes are to be pushed on the stack.
|
||||
unsigned NextStackOffset = CCInfo.getNextStackOffset();
|
||||
|
||||
Reference in New Issue
Block a user