[llvm-commits] [llvm] r101283 - /llvm/trunk/include/llvm/Support/CallSite.h

Dan Gohman gohman at apple.com
Wed Apr 14 13:49:44 PDT 2010


Author: djg
Date: Wed Apr 14 15:49:44 2010
New Revision: 101283

URL: http://llvm.org/viewvc/llvm-project?rev=101283&view=rev
Log:
Use FunTy instead of hard-coding Function.

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

Modified: llvm/trunk/include/llvm/Support/CallSite.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Support/CallSite.h?rev=101283&r1=101282&r2=101283&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Support/CallSite.h (original)
+++ llvm/trunk/include/llvm/Support/CallSite.h Wed Apr 14 15:49:44 2010
@@ -156,7 +156,7 @@
 
   /// getCaller - Return the caller function for this call site
   ///
-  Function *getCaller() const { return (*this)->getParent()->getParent(); }
+  FunTy *getCaller() const { return (*this)->getParent()->getParent(); }
 
 private:
   /// Returns the operand number of the first argument





More information about the llvm-commits mailing list