diff options
| author | Chris Lattner <sabre@nondot.org> | 2007-02-14 06:20:04 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2007-02-14 06:20:04 +0000 |
| commit | 4da5e17cfc5befdfc6f77df2ed8cd3266b73b0e0 (patch) | |
| tree | 772c4c6956fbc06d9ef6331735b5a95555278627 /llvm/lib/ExecutionEngine/Interpreter/Execution.cpp | |
| parent | 945e437c65a6e354bdb090ccabf4a3d374edf231 (diff) | |
| download | llvm-4da5e17cfc5befdfc6f77df2ed8cd3266b73b0e0.tar.gz llvm-4da5e17cfc5befdfc6f77df2ed8cd3266b73b0e0.tar.bz2 llvm-4da5e17cfc5befdfc6f77df2ed8cd3266b73b0e0.zip | |
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.
llvm-svn: 34267
Diffstat (limited to 'llvm/lib/ExecutionEngine/Interpreter/Execution.cpp')
| -rw-r--r-- | llvm/lib/ExecutionEngine/Interpreter/Execution.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/ExecutionEngine/Interpreter/Execution.cpp b/llvm/lib/ExecutionEngine/Interpreter/Execution.cpp index 936d64f44413..c6dcc5cbc030 100644 --- a/llvm/lib/ExecutionEngine/Interpreter/Execution.cpp +++ b/llvm/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); |
