Remove dead inline function that doesn't compile
authorReid Kleckner <reid@kleckner.net>
Thu, 24 Apr 2014 20:19:22 +0000 (20:19 +0000)
committerReid Kleckner <reid@kleckner.net>
Thu, 24 Apr 2014 20:19:22 +0000 (20:19 +0000)
MSVC doesn't diagnose this, interestingly.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@207144 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/IR/CallSite.h

index 39cb461f090760b8763b04267bad3510a7eb787e..9847e70050b81122b100c6553e5ce689e355541e 100644 (file)
@@ -160,9 +160,6 @@ public:
   ///
   FunTy *getCaller() const { return (*this)->getParent()->getParent(); }
 
   ///
   FunTy *getCaller() const { return (*this)->getParent()->getParent(); }
 
-  /// \brief Tests if this is a tail call.  Only a CallInst can be a tail call.
-  bool isTailCall() const { return isCall() && cast<CallInst>->isTailCall(); }
-
   /// \brief Tests if this call site must be tail call optimized.  Only a
   /// CallInst can be tail call optimized.
   bool isMustTailCall() const {
   /// \brief Tests if this call site must be tail call optimized.  Only a
   /// CallInst can be tail call optimized.
   bool isMustTailCall() const {