mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-04-09 16:45:03 +00:00
Fix PR78
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9648 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
fa395ec036
commit
d6d0d8c18d
@ -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…
x
Reference in New Issue
Block a user