From 64f150fa92180c4176d64522158c4c643184b17c Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Wed, 14 Feb 2007 06:20:04 +0000 Subject: 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 --- lib/ExecutionEngine/Interpreter/Execution.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/ExecutionEngine/Interpreter/Execution.cpp') diff --git a/lib/ExecutionEngine/Interpreter/Execution.cpp b/lib/ExecutionEngine/Interpreter/Execution.cpp index 936d64f444..c6dcc5cbc0 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); -- cgit v1.2.3-18-g5258