llvm-svn: 9648
This commit is contained in:
Chris Lattner 2003-11-02 02:06:27 +00:00
parent 4fa54568a3
commit 7f7285bab7
1 changed files with 1 additions and 1 deletions

View File

@ -276,7 +276,7 @@ bool DAE::isMaybeLiveArgumentNowLive(Argument *Arg) {
CallSite CS = CallSite::get(*I);
// We know that this can only be used for direct calls...
Function *Callee = cast<Function>(CS.getCalledValue());
Function *Callee = CS.getCalledFunction();
// Loop over all of the arguments (because Arg may be passed into the call
// multiple times) and check to see if any are now alive...