diff options
Diffstat (limited to 'llvm/lib/VMCore/Instructions.cpp')
-rw-r--r-- | llvm/lib/VMCore/Instructions.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/VMCore/Instructions.cpp b/llvm/lib/VMCore/Instructions.cpp index e03cc827580..9e5fd239233 100644 --- a/llvm/lib/VMCore/Instructions.cpp +++ b/llvm/lib/VMCore/Instructions.cpp @@ -33,7 +33,7 @@ using namespace llvm; User::op_iterator CallSite::getCallee() const { Instruction *II(getInstruction()); return isCall() - ? cast</*FIXME: CallInst*/User>(II)->op_end() - 1 // Skip Callee + ? cast<CallInst>(II)->op_end() - 1 // Skip Callee : cast<InvokeInst>(II)->op_end() - 3; // Skip BB, BB, Callee } |