diff options
author | Devang Patel <dpatel@apple.com> | 2008-10-02 18:38:23 +0000 |
---|---|---|
committer | Devang Patel <dpatel@apple.com> | 2008-10-02 18:38:23 +0000 |
commit | 8cedb8a975e77639d875bcd77cbcb915a6fc5759 (patch) | |
tree | 5d19c5bed90ba06d60f181df620b4e0163274df5 /lib/VMCore/Verifier.cpp | |
parent | b1290a6cc40f7caa0351450ce7021a0d48b5f2c0 (diff) | |
download | external_llvm-8cedb8a975e77639d875bcd77cbcb915a6fc5759.zip external_llvm-8cedb8a975e77639d875bcd77cbcb915a6fc5759.tar.gz external_llvm-8cedb8a975e77639d875bcd77cbcb915a6fc5759.tar.bz2 |
Remove redundant check.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@56960 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/VMCore/Verifier.cpp')
-rw-r--r-- | lib/VMCore/Verifier.cpp | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/lib/VMCore/Verifier.cpp b/lib/VMCore/Verifier.cpp index 527b1da..a3d3317 100644 --- a/lib/VMCore/Verifier.cpp +++ b/lib/VMCore/Verifier.cpp @@ -483,15 +483,6 @@ void Verifier::VerifyFunctionAttrs(const FunctionType *FT, Assert1(!(MutI & (MutI - 1)), "Attributes " + Attribute::getAsString(MutI) + " are incompatible!", V); } - - Attributes RAttrs = Attrs.getRetAttributes(); - for (unsigned i = 0; - i < array_lengthof(Attribute::MutuallyIncompatible); ++i) { - Attributes MutI = RAttrs & Attribute::MutuallyIncompatible[i]; - Assert1(!(MutI & (MutI - 1)), "Attributes " + - Attribute::getAsString(MutI) + " are incompatible!", V); - } - } static bool VerifyAttributeCount(const AttrListPtr &Attrs, unsigned Params) { |