aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/Support/KnownBits.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/llvm/Support/KnownBits.h')
-rw-r--r--include/llvm/Support/KnownBits.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/llvm/Support/KnownBits.h b/include/llvm/Support/KnownBits.h
index 7a4de3e5ff12..97e73b13fca3 100644
--- a/include/llvm/Support/KnownBits.h
+++ b/include/llvm/Support/KnownBits.h
@@ -100,13 +100,11 @@ public:
/// Make this value negative.
void makeNegative() {
- assert(!isNonNegative() && "Can't make a non-negative value negative");
One.setSignBit();
}
/// Make this value negative.
void makeNonNegative() {
- assert(!isNegative() && "Can't make a negative value non-negative");
Zero.setSignBit();
}