diff options
Diffstat (limited to 'llvm/lib/VMCore/Function.cpp')
-rw-r--r-- | llvm/lib/VMCore/Function.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/VMCore/Function.cpp b/llvm/lib/VMCore/Function.cpp index f16042b7f53..ddc6ace3278 100644 --- a/llvm/lib/VMCore/Function.cpp +++ b/llvm/lib/VMCore/Function.cpp @@ -365,7 +365,7 @@ AttrListPtr Intrinsic::getAttributes(ID id) { // Intrinsics cannot throw exceptions. Attr |= Attribute::NoUnwind; - AttributeWithIndex PAWI = AttributeWithIndex::get(0, Attr); + AttributeWithIndex PAWI = AttributeWithIndex::get(~0, Attr); return AttrListPtr::get(&PAWI, 1); } |