aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2010-04-14 20:49:44 +0000
committerDan Gohman <gohman@apple.com>2010-04-14 20:49:44 +0000
commit7b975f411f03a00e352c6ef7d9745e76ad070fd2 (patch)
treeadc94db607711697fb6d7ebcf890a1e63dacf923 /include/llvm
parent164cd8b8d305f93a1520fc1354d896acd1d002f4 (diff)
downloadexternal_llvm-7b975f411f03a00e352c6ef7d9745e76ad070fd2.zip
external_llvm-7b975f411f03a00e352c6ef7d9745e76ad070fd2.tar.gz
external_llvm-7b975f411f03a00e352c6ef7d9745e76ad070fd2.tar.bz2
Use FunTy instead of hard-coding Function.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@101283 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm')
-rw-r--r--include/llvm/Support/CallSite.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/Support/CallSite.h b/include/llvm/Support/CallSite.h
index f3bfb2d..aa093f5 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