mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-26 23:24:34 +00:00
Remove an unnecessary static_cast.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@42261 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -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
|
||||||
|
Reference in New Issue
Block a user