Remove a dead target hook.
authorEvan Cheng <evan.cheng@apple.com>
Wed, 27 Jan 2010 01:44:40 +0000 (01:44 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Wed, 27 Jan 2010 01:44:40 +0000 (01:44 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@94646 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Target/TargetLowering.h

index a454c789de3aee3f96f3ee7209e746d2cf09b971..e172edf4dd7b91b56bc9245860240a88865456d3 100644 (file)
@@ -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<ISD::InputArg> &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;