aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ExecutionEngine/Interpreter
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2007-02-14 06:20:04 +0000
committerChris Lattner <sabre@nondot.org>2007-02-14 06:20:04 +0000
commit64f150fa92180c4176d64522158c4c643184b17c (patch)
tree123869f95d50f70e8bc60abc188e701ee95ea079 /lib/ExecutionEngine/Interpreter
parentd2b7cec527a0efa552628378ebca7a8ca63bb45d (diff)
downloadexternal_llvm-64f150fa92180c4176d64522158c4c643184b17c.zip
external_llvm-64f150fa92180c4176d64522158c4c643184b17c.tar.gz
external_llvm-64f150fa92180c4176d64522158c4c643184b17c.tar.bz2
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
Diffstat (limited to 'lib/ExecutionEngine/Interpreter')
-rw-r--r--lib/ExecutionEngine/Interpreter/Execution.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ExecutionEngine/Interpreter/Execution.cpp b/lib/ExecutionEngine/Interpreter/Execution.cpp
index 936d64f..c6dcc5c 100644
--- a/lib/ExecutionEngine/Interpreter/Execution.cpp
+++ b/lib/ExecutionEngine/Interpreter/Execution.cpp
@@ -1690,7 +1690,7 @@ void Interpreter::visitVAArgInst(VAArgInst &I) {
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);