[llvm] r207144 - Remove dead inline function that doesn't compile

Reid Kleckner reid at kleckner.net
Thu Apr 24 13:19:22 PDT 2014


Author: rnk
Date: Thu Apr 24 15:19:22 2014
New Revision: 207144

URL: http://llvm.org/viewvc/llvm-project?rev=207144&view=rev
Log:
Remove dead inline function that doesn't compile

MSVC doesn't diagnose this, interestingly.

Modified:
    llvm/trunk/include/llvm/IR/CallSite.h

Modified: llvm/trunk/include/llvm/IR/CallSite.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/IR/CallSite.h?rev=207144&r1=207143&r2=207144&view=diff
==============================================================================
--- llvm/trunk/include/llvm/IR/CallSite.h (original)
+++ llvm/trunk/include/llvm/IR/CallSite.h Thu Apr 24 15:19:22 2014
@@ -160,9 +160,6 @@ public:
   ///
   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 {





More information about the llvm-commits mailing list