mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-19 02:52:53 +02:00
[NFC][StackSafety] Avoid assert in getBaseObjec
This commit is contained in:
parent
f4233be412
commit
6795706f92
@ -591,7 +591,7 @@ FunctionSummary *resolveCallee(GlobalValueSummary *S) {
|
||||
if (FunctionSummary *FS = dyn_cast<FunctionSummary>(S))
|
||||
return FS;
|
||||
AliasSummary *AS = dyn_cast<AliasSummary>(S);
|
||||
if (!AS)
|
||||
if (!AS || !AS->hasAliasee())
|
||||
return nullptr;
|
||||
S = AS->getBaseObject();
|
||||
if (S == AS)
|
||||
|
Loading…
Reference in New Issue
Block a user