diff options
-rw-r--r-- | lib/Bytecode/Reader/Reader.cpp | 2 | ||||
-rw-r--r-- | lib/Bytecode/Writer/Writer.cpp | 2 | ||||
-rw-r--r-- | lib/ExecutionEngine/ExecutionEngine.cpp | 4 | ||||
-rw-r--r-- | lib/ExecutionEngine/Interpreter/Execution.cpp | 2 |
4 files changed, 5 insertions, 5 deletions
diff --git a/lib/Bytecode/Reader/Reader.cpp b/lib/Bytecode/Reader/Reader.cpp index d161051536..d516910d80 100644 --- a/lib/Bytecode/Reader/Reader.cpp +++ b/lib/Bytecode/Reader/Reader.cpp @@ -1265,7 +1265,7 @@ Value *BytecodeReader::ParseConstantPoolValue(unsigned TypeID) { Result = ConstantInt::get(IT, Val); if (Handler) Handler->handleConstantValue(Result); } else - assert("Integer types > 64 bits not supported"); + assert(0 && "Integer types > 64 bits not supported"); break; } case Type::FloatTyID: { diff --git a/lib/Bytecode/Writer/Writer.cpp b/lib/Bytecode/Writer/Writer.cpp index 434703f92e..78d628343e 100644 --- a/lib/Bytecode/Writer/Writer.cpp +++ b/lib/Bytecode/Writer/Writer.cpp @@ -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; } diff --git a/lib/ExecutionEngine/ExecutionEngine.cpp b/lib/ExecutionEngine/ExecutionEngine.cpp index 28b515e3fa..f0ba43477d 100644 --- a/lib/ExecutionEngine/ExecutionEngine.cpp +++ b/lib/ExecutionEngine/ExecutionEngine.cpp @@ -292,7 +292,7 @@ void *ExecutionEngine::getPointerToGlobal(const GlobalValue *GV) { const_cast<GlobalVariable *>(dyn_cast<GlobalVariable>(GV))) EmitGlobalVariable(GVar); else - assert("Global hasn't had an address allocated yet!"); + assert(0 && "Global hasn't had an address allocated yet!"); return state.getGlobalAddressMap(locked)[GV]; } @@ -425,7 +425,7 @@ GenericValue ExecutionEngine::getConstantValue(const Constant *C) { else if (BitWidth <= 64) Result.Int64Val = (uint64_t )cast<ConstantInt>(C)->getZExtValue(); else - assert("Integers with > 64-bits not implemented"); + assert(0 && "Integers with > 64-bits not implemented"); break; } 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); |