aboutsummaryrefslogtreecommitdiffstats
path: root/lib/VMCore/Verifier.cpp
diff options
context:
space:
mode:
authorDevang Patel <dpatel@apple.com>2008-10-02 18:38:23 +0000
committerDevang Patel <dpatel@apple.com>2008-10-02 18:38:23 +0000
commit8cedb8a975e77639d875bcd77cbcb915a6fc5759 (patch)
tree5d19c5bed90ba06d60f181df620b4e0163274df5 /lib/VMCore/Verifier.cpp
parentb1290a6cc40f7caa0351450ce7021a0d48b5f2c0 (diff)
downloadexternal_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.cpp9
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) {