summaryrefslogtreecommitdiff
path: root/lib/Bytecode
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2001-11-12 21:52:57 +0000
committerChris Lattner <sabre@nondot.org>2001-11-12 21:52:57 +0000
commite6e8b28a577f3c139b98686a13ef78e10b8d75a7 (patch)
tree750e48d5f18e4c0d4850ea1cec91600a7e5ab7a8 /lib/Bytecode
parent77a316ad2bd41d16417a4571e84125b978957fa3 (diff)
downloadllvm-e6e8b28a577f3c139b98686a13ef78e10b8d75a7.tar.gz
llvm-e6e8b28a577f3c139b98686a13ef78e10b8d75a7.tar.bz2
llvm-e6e8b28a577f3c139b98686a13ef78e10b8d75a7.tar.xz
Remove debug info :(
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1280 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Bytecode')
-rw-r--r--lib/Bytecode/Reader/InstructionReader.cpp4
1 files changed, 1 insertions, 3 deletions
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: {