aboutsummaryrefslogtreecommitdiff
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
commit33c46fde0718f67d41d0f1a44118a477857ebd08 (patch)
tree04ece359a284b4e5df99328b748ba1e38a015c77
parentc05b887c84f80d8661cf37b5efee1763ead0add9 (diff)
downloadllvm-33c46fde0718f67d41d0f1a44118a477857ebd08.zip
llvm-33c46fde0718f67d41d0f1a44118a477857ebd08.tar.gz
llvm-33c46fde0718f67d41d0f1a44118a477857ebd08.tar.bz2
Use FunTy instead of hard-coding Function.
llvm-svn: 101283
-rw-r--r--llvm/include/llvm/Support/CallSite.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/include/llvm/Support/CallSite.h b/llvm/include/llvm/Support/CallSite.h
index f3bfb2d..aa093f5 100644
--- a/llvm/include/llvm/Support/CallSite.h
+++ b/llvm/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