From 1c44430e738ba83eefe6d56a245ee30649d8988d Mon Sep 17 00:00:00 2001 From: Alexey Lapshin Date: Wed, 13 May 2020 01:20:33 +0300 Subject: [PATCH] Fix buildbots #2 after aa1eb5152d9a5bd588c8479a376fa65cbeabbc9f. --- llvm/lib/Target/X86/X86ISelLowering.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/llvm/lib/Target/X86/X86ISelLowering.cpp b/llvm/lib/Target/X86/X86ISelLowering.cpp index 040e946..f126e54 100644 --- a/llvm/lib/Target/X86/X86ISelLowering.cpp +++ b/llvm/lib/Target/X86/X86ISelLowering.cpp @@ -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 -- 2.7.4