mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-14 15:28:20 +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:
@@ -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();
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user