forked from OSchip/llvm-project
parent
962942f7a4
commit
043689cf7d
|
@ -917,7 +917,7 @@ public:
|
||||||
/// if it is a direct call. If it is a call through a function pointer,
|
/// if it is a direct call. If it is a call through a function pointer,
|
||||||
/// return null.
|
/// return null.
|
||||||
Function *getCalledFunction() const {
|
Function *getCalledFunction() const {
|
||||||
return static_cast<Function*>(dyn_cast<Function>(getOperand(0)));
|
return dyn_cast<Function>(getOperand(0));
|
||||||
}
|
}
|
||||||
|
|
||||||
/// getCalledValue - Get a pointer to the function that is invoked by this
|
/// getCalledValue - Get a pointer to the function that is invoked by this
|
||||||
|
|
Loading…
Reference in New Issue