Use FunTy instead of hard-coding Function.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@101283 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Dan Gohman 2010-04-14 20:49:44 +00:00
parent 164cd8b8d3
commit 7b975f411f

View File

@ -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