Skip to content

Commit

Permalink
Fix buildbots rust-lang#2 after aa1eb51.
Browse files Browse the repository at this point in the history
  • Loading branch information
avl-llvm committed May 12, 2020
1 parent 0138cc0 commit 1c44430
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions llvm/lib/Target/X86/X86ISelLowering.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3338,7 +3338,7 @@ class VarArgsLoweringHelper {
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),
Expand All @@ -3360,7 +3360,7 @@ class VarArgsLoweringHelper {
SelectionDAG &DAG;
const X86Subtarget &Subtarget;
MachineFunction &TheMachineFunction;
const Function &Function;
const Function &TheFunction;
MachineFrameInfo &FrameInfo;
const TargetFrameLowering &FrameLowering;
const TargetLowering &TargLowering;
Expand All @@ -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
Expand Down

0 comments on commit 1c44430

Please sign in to comment.