Fix buildbots #2 after aa1eb5152d.

This commit is contained in:
Alexey Lapshin 2020-05-13 01:20:33 +03:00
parent 0138cc0125
commit 1c44430e73
1 changed files with 3 additions and 3 deletions

View File

@ -3338,7 +3338,7 @@ public:
CallingConv::ID CallConv, CCState &CCInfo)
: FuncInfo(FuncInfo), DL(Loc), DAG(DAG), Subtarget(Subtarget),
TheMachineFunction(DAG.getMachineFunction()),
Function(TheMachineFunction.getFunction()),
TheFunction(TheMachineFunction.getFunction()),
FrameInfo(TheMachineFunction.getFrameInfo()),
FrameLowering(*Subtarget.getFrameLowering()),
TargLowering(DAG.getTargetLoweringInfo()), CallConv(CallConv),
@ -3360,7 +3360,7 @@ private:
SelectionDAG &DAG;
const X86Subtarget &Subtarget;
MachineFunction &TheMachineFunction;
const Function &Function;
const Function &TheFunction;
MachineFrameInfo &FrameInfo;
const TargetFrameLowering &FrameLowering;
const TargetLowering &TargLowering;
@ -3381,7 +3381,7 @@ void VarArgsLoweringHelper::createVarArgAreaAndStoreRegisters(
// Figure out if XMM registers are in use.
assert(!(Subtarget.useSoftFloat() &&
Function.hasFnAttribute(Attribute::NoImplicitFloat)) &&
TheFunction.hasFnAttribute(Attribute::NoImplicitFloat)) &&
"SSE register cannot be used when SSE is disabled!");
// 64-bit calling conventions support varargs and register parameters, so we