diff --git a/lib/Target/Mips/MipsISelLowering.cpp b/lib/Target/Mips/MipsISelLowering.cpp index aa7a276c8c3d..4453aa61b126 100644 --- a/lib/Target/Mips/MipsISelLowering.cpp +++ b/lib/Target/Mips/MipsISelLowering.cpp @@ -2593,8 +2593,8 @@ MipsTargetLowering::LowerCall(TargetLowering::CallLoweringInfo &CLI, MipsCC MipsCCInfo(CallConv, Subtarget, CCInfo); CCInfo.PreAnalyzeCallOperandsForF128_(Outs, CLI.getArgs(), Callee.getNode()); - MipsCCInfo.analyzeCallOperands(Outs, IsVarArg, Subtarget.abiUsesSoftFloat(), - Callee.getNode(), CLI.getArgs(), CCInfo); + MipsCCInfo.analyzeCallOperands(Outs, IsVarArg, Callee.getNode(), + CLI.getArgs(), CCInfo); CCInfo.ClearOriginalArgWasF128(); // Get a count of how many bytes are to be pushed on the stack. @@ -3600,8 +3600,8 @@ MipsTargetLowering::MipsCC::MipsCC(CallingConv::ID CC, void MipsTargetLowering::MipsCC::analyzeCallOperands( const SmallVectorImpl &Args, bool IsVarArg, - bool IsSoftFloat, const SDNode *CallNode, - std::vector &FuncArgs, CCState &State) { + const SDNode *CallNode, std::vector &FuncArgs, + CCState &State) { MipsCC::SpecialCallingConvType SpecialCallingConv = getSpecialCallingConv(CallNode); assert((CallConv != CallingConv::Fast || !IsVarArg) && diff --git a/lib/Target/Mips/MipsISelLowering.h b/lib/Target/Mips/MipsISelLowering.h index cabe032a1605..4fa2df21cfbb 100644 --- a/lib/Target/Mips/MipsISelLowering.h +++ b/lib/Target/Mips/MipsISelLowering.h @@ -368,8 +368,7 @@ namespace llvm { CCState &Info); void analyzeCallOperands(const SmallVectorImpl &Outs, - bool IsVarArg, bool IsSoftFloat, - const SDNode *CallNode, + bool IsVarArg, const SDNode *CallNode, std::vector &FuncArgs, CCState &State);