llvm-svn: 9648
This commit is contained in:
Chris Lattner 2003-11-02 02:06:27 +00:00
parent 4db6e0ea7a
commit d6b4a4c1c9

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...