From e6e8b28a577f3c139b98686a13ef78e10b8d75a7 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Mon, 12 Nov 2001 21:52:57 +0000 Subject: Remove debug info :( git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1280 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Bytecode/Reader/InstructionReader.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'lib/Bytecode/Reader/InstructionReader.cpp') diff --git a/lib/Bytecode/Reader/InstructionReader.cpp b/lib/Bytecode/Reader/InstructionReader.cpp index 8dc9b8d565..d3b2bb0d09 100644 --- a/lib/Bytecode/Reader/InstructionReader.cpp +++ b/lib/Bytecode/Reader/InstructionReader.cpp @@ -379,14 +379,12 @@ bool BytecodeParser::ParseInstruction(const uchar *&Buf, const uchar *EndBuf, if (Raw.Opcode == Instruction::Load) { assert(MemAccessInst::getIndexedType(Raw.Ty, Idx) && - "Bad indices for GEP or Load!"); + "Bad indices for Load!"); Res = new LoadInst(getValue(Raw.Ty, Raw.Arg1), Idx); } else if (Raw.Opcode == Instruction::GetElementPtr) Res = new GetElementPtrInst(getValue(Raw.Ty, Raw.Arg1), Idx); else abort(); - if (!MemAccessInst::getIndexedType(Raw.Ty, Idx)) - cerr << Res; return false; } case Instruction::Store: { -- cgit v1.2.3-18-g5258