mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-14 16:33:28 +00:00
Fix for PR1801
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@44193 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
be6fe28f75
commit
ee22be064e
@ -929,6 +929,9 @@ BasicAliasAnalysis::getModRefBehavior(Function *F, CallSite CS,
|
||||
}
|
||||
|
||||
ValueName *Name = F->getValueName();
|
||||
if (!Name)
|
||||
return UnknownModRefBehavior;
|
||||
|
||||
unsigned NameLen = Name->getKeyLength();
|
||||
const char *NamePtr = Name->getKeyData();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user