From: Chris Lattner Date: Fri, 13 May 2005 23:35:47 +0000 (+0000) Subject: fix the assertion X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=bfed9247f127b1864be725d4a4d6f3989a9e86aa;p=oota-llvm.git fix the assertion git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21994 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Bytecode/Writer/Writer.cpp b/lib/Bytecode/Writer/Writer.cpp index aafc3529c3b..fb5a1aa6031 100644 --- a/lib/Bytecode/Writer/Writer.cpp +++ b/lib/Bytecode/Writer/Writer.cpp @@ -607,7 +607,7 @@ inline void BytecodeWriter::outputInstructionFormat3(const Instruction *I, } void BytecodeWriter::outputInstruction(const Instruction &I) { - assert(I.getOpcode() < 62 && "Opcode too big???"); + assert(I.getOpcode() < 56 && "Opcode too big???"); unsigned Opcode = I.getOpcode(); unsigned NumOperands = I.getNumOperands();