diff options
author | Bill Wendling <isanbard@gmail.com> | 2013-01-31 01:04:51 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2013-01-31 01:04:51 +0000 |
commit | 82aa8d4926bb0cbf9702cf5eb057e86202fb92b5 (patch) | |
tree | 8aa0a572e9668a3c7ea8401be394de259758ea4e /llvm/lib/IR/Verifier.cpp | |
parent | 41e4ac4224337cc17c687687eff9dc1ae9ea2663 (diff) | |
download | bcm5719-llvm-82aa8d4926bb0cbf9702cf5eb057e86202fb92b5.tar.gz bcm5719-llvm-82aa8d4926bb0cbf9702cf5eb057e86202fb92b5.zip |
Revert for now:
--- Reverse-merging r174010 into '.':
U include/llvm/IR/Attributes.h
U lib/IR/Verifier.cpp
U lib/IR/Attributes.cpp
llvm-svn: 174012
Diffstat (limited to 'llvm/lib/IR/Verifier.cpp')
-rw-r--r-- | llvm/lib/IR/Verifier.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/llvm/lib/IR/Verifier.cpp b/llvm/lib/IR/Verifier.cpp index babc295126e..5da74481e4f 100644 --- a/llvm/lib/IR/Verifier.cpp +++ b/llvm/lib/IR/Verifier.cpp @@ -745,9 +745,7 @@ void Verifier::VerifyFunctionAttrs(FunctionType *FT, AttrBuilder NotFn(Attrs, AttributeSet::FunctionIndex); NotFn.removeFunctionOnlyAttrs(); Assert1(!NotFn.hasAttributes(), "Attribute '" + - AttributeSet::get(V->getContext(), - AttributeSet::FunctionIndex, - NotFn).getAsString(AttributeSet::FunctionIndex) + + Attribute::get(V->getContext(), NotFn).getAsString() + "' do not apply to the function!", V); // Check for mutually incompatible attributes. |