mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-17 21:35:07 +00:00
Fix test/CodeGen/Generic/vector-constantexpr.ll
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36123 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
7780acb76a
commit
085659f040
@ -226,6 +226,8 @@ void Function::dropAllReferences() {
|
|||||||
///
|
///
|
||||||
unsigned Function::getIntrinsicID(bool noAssert) const {
|
unsigned Function::getIntrinsicID(bool noAssert) const {
|
||||||
const ValueName *ValName = this->getValueName();
|
const ValueName *ValName = this->getValueName();
|
||||||
|
if (!ValName)
|
||||||
|
return 0;
|
||||||
unsigned Len = ValName->getKeyLength();
|
unsigned Len = ValName->getKeyLength();
|
||||||
const char *Name = ValName->getKeyData();
|
const char *Name = ValName->getKeyData();
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user