bool Cpu0SETargetLowering:: isEligibleForTailCallOptimization(const Cpu0CC &Cpu0CCInfo, unsigned NextStackOffset, const Cpu0FunctionInfo& FI) const { if (!EnableCpu0TailCalls) return false; // Return false if either the callee or caller has a byval argument. if (Cpu0CCInfo.hasByValArg() || FI.hasByvalArg()) return false; // Return true if the callee's argument area is no larger than the // caller's. return NextStackOffset <= FI.getIncomingArgSize(); }