aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 f3bfb2d414..aa093f5831 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