From: Evan Cheng Date: Wed, 27 Jan 2010 01:44:40 +0000 (+0000) Subject: Remove a dead target hook. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=dee740d1950af5014d4016ba9f39c0fc64b23162;p=oota-llvm.git Remove a dead target hook. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@94646 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/Target/TargetLowering.h b/include/llvm/Target/TargetLowering.h index a454c789de3..e172edf4dd7 100644 --- a/include/llvm/Target/TargetLowering.h +++ b/include/llvm/Target/TargetLowering.h @@ -1295,19 +1295,6 @@ public: assert(0 && "ReplaceNodeResults not implemented for this target!"); } - /// IsEligibleForTailCallOptimization - Check whether the call is eligible for - /// tail call optimization. Targets which want to do tail call optimization - /// should override this function. - virtual bool - IsEligibleForTailCallOptimization(SDValue Callee, - CallingConv::ID CalleeCC, - bool isVarArg, - const SmallVectorImpl &Ins, - SelectionDAG& DAG) const { - // Conservative default: no calls are eligible. - return false; - } - /// getTargetNodeName() - This method returns the name of a target specific /// DAG node. virtual const char *getTargetNodeName(unsigned Opcode) const;