projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
658d24d
)
If the attributes don't exist, just bail for now.
author
Bill Wendling
<isanbard@gmail.com>
Fri, 18 Jan 2013 21:56:07 +0000
(21:56 +0000)
committer
Bill Wendling
<isanbard@gmail.com>
Fri, 18 Jan 2013 21:56:07 +0000
(21:56 +0000)
llvm-svn: 172854
llvm/lib/IR/Attributes.cpp
patch
|
blob
|
history
diff --git
a/llvm/lib/IR/Attributes.cpp
b/llvm/lib/IR/Attributes.cpp
index
bb98358
..
5de1827
100644
(file)
--- a/
llvm/lib/IR/Attributes.cpp
+++ b/
llvm/lib/IR/Attributes.cpp
@@
-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();