diff --git a/include/llvm/Instructions.h b/include/llvm/Instructions.h index c7866235260..cbcc0974e49 100644 --- a/include/llvm/Instructions.h +++ b/include/llvm/Instructions.h @@ -729,7 +729,8 @@ public: return static_cast(dyn_cast(getOperand(0))); } - // getCalledValue - Get a pointer to a method that is invoked by this inst. + /// getCalledValue - Get a pointer to the function that is invoked by this + /// instruction inline const Value *getCalledValue() const { return getOperand(0); } inline Value *getCalledValue() { return getOperand(0); }