If the attributes don't exist, just bail for now.

llvm-svn: 172854
This commit is contained in:
Bill Wendling 2013-01-18 21:56:07 +00:00
parent 658d24d211
commit 7df048e6b6
1 changed files with 1 additions and 1 deletions

View File

@ -253,7 +253,7 @@ AttrBuilder::AttrBuilder(AttributeSet AS, unsigned Idx)
break;
}
assert(AWI && "Cannot find index in attribute set!");
if (!AWI) return;
uint64_t Mask = AWI->Attrs.Raw();