From Dan Gohman:

While preparing http://llvm.org/PR1198 I noticed several asserts
protecting unprepared code from i128 types that weren't actually failing
when they should because they were written as assert("foo") instead of
something like assert(0 && "foo"). This patch fixes all the cases that a
quick grep found.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34267 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner
2007-02-14 06:20:04 +00:00
parent d2b7cec527
commit 64f150fa92
4 changed files with 5 additions and 5 deletions

View File

@@ -313,7 +313,7 @@ void BytecodeWriter::outputConstant(const Constant *CPV) {
else if (NumBits <= 64)
output_vbr(uint64_t(cast<ConstantInt>(CPV)->getZExtValue()));
else
assert("Integer types > 64 bits not supported.");
assert(0 && "Integer types > 64 bits not supported.");
break;
}