llvm.org GIT mirror llvm / 11a7dbf
Remove an unnecessary static_cast. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@42261 91177308-0d34-0410-b5e6-96231b3b80d8 Dan Gohman 13 years ago
1 changed file(s) with 1 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
916916 /// if it is a direct call. If it is a call through a function pointer,
917917 /// return null.
918918 Function *getCalledFunction() const {
919 return static_cast(dyn_cast(getOperand(0)));
919 return dyn_cast(getOperand(0));
920920 }
921921
922922 /// getCalledValue - Get a pointer to the function that is invoked by this