[llvm-commits] CVS: llvm/lib/ExecutionEngine/Interpreter/Execution.cpp
Chris Lattner
sabre at nondot.org
Tue Feb 13 22:20:28 PST 2007
Changes in directory llvm/lib/ExecutionEngine/Interpreter:
Execution.cpp updated: 1.169 -> 1.170
---
Log message:
>From Dan Gohman:
While preparing http://llvm.org/PR1198: 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.
---
Diffs of the changes: (+1 -1)
Execution.cpp | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
Index: llvm/lib/ExecutionEngine/Interpreter/Execution.cpp
diff -u llvm/lib/ExecutionEngine/Interpreter/Execution.cpp:1.169 llvm/lib/ExecutionEngine/Interpreter/Execution.cpp:1.170
--- llvm/lib/ExecutionEngine/Interpreter/Execution.cpp:1.169 Sat Feb 10 13:55:17 2007
+++ llvm/lib/ExecutionEngine/Interpreter/Execution.cpp Wed Feb 14 00:20:04 2007
@@ -1690,7 +1690,7 @@
else if (BitWidth <= 64)
Dest.Int64Val = Src.Int64Val;
else
- assert("Integer types > 64 bits not supported");
+ assert(0 && "Integer types > 64 bits not supported");
maskToBitWidth(Dest, BitWidth);
}
IMPLEMENT_VAARG(Pointer);
More information about the llvm-commits
mailing list