diff --git a/llvm/lib/Target/X86/X86ISelLowering.cpp b/llvm/lib/Target/X86/X86ISelLowering.cpp index 040e9467b24e..f126e54d3bb2 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