From 7b975f411f03a00e352c6ef7d9745e76ad070fd2 Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Wed, 14 Apr 2010 20:49:44 +0000 Subject: [PATCH] Use FunTy instead of hard-coding Function. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@101283 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/Support/CallSite.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/llvm/Support/CallSite.h b/include/llvm/Support/CallSite.h index f3bfb2d414a..aa093f58310 100644 --- a/include/llvm/Support/CallSite.h +++ b/include/llvm/Support/CallSite.h @@ -156,7 +156,7 @@ public: /// 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 -- 2.34.1