mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-07 11:51:13 +00:00
Fix PR78
llvm-svn: 9648
This commit is contained in:
parent
4db6e0ea7a
commit
d6b4a4c1c9
@ -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...
|
||||
|
Loading…
Reference in New Issue
Block a user