diff options
author | Dimitry Andric <dim@FreeBSD.org> | 2017-12-28 23:57:18 +0000 |
---|---|---|
committer | Dimitry Andric <dim@FreeBSD.org> | 2017-12-28 23:57:18 +0000 |
commit | b8a2042aa938069e862750553db0e4d82d25822c (patch) | |
tree | 8acb3313c9e21902b08a931a708ba405aa157b31 /include/llvm | |
parent | b2b7c066a48f61ec67332fb797a20bb04901c83d (diff) |
Notes
Diffstat (limited to 'include/llvm')
-rw-r--r-- | include/llvm/Support/KnownBits.h | 2 |
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(); } |