aboutsummaryrefslogtreecommitdiffstats
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
commit3eb29e2d8cfcd8079ec565e0a027a6a0bbf27f11 (patch)
tree5d19c5bed90ba06d60f181df620b4e0163274df5
parentaf09cbdaf927bce0c8e70f9a0e576dab86bbf4c9 (diff)
downloadexternal_llvm-3eb29e2d8cfcd8079ec565e0a027a6a0bbf27f11.zip
external_llvm-3eb29e2d8cfcd8079ec565e0a027a6a0bbf27f11.tar.gz
external_llvm-3eb29e2d8cfcd8079ec565e0a027a6a0bbf27f11.tar.bz2
Remove redundant check.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@56960 91177308-0d34-0410-b5e6-96231b3b80d8
-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) {