fix the assertion
authorChris Lattner <sabre@nondot.org>
Fri, 13 May 2005 23:35:47 +0000 (23:35 +0000)
committerChris Lattner <sabre@nondot.org>
Fri, 13 May 2005 23:35:47 +0000 (23:35 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21994 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Bytecode/Writer/Writer.cpp

index aafc3529c3bc1efdee3e2321ef487d3e866ae023..fb5a1aa60317e710eb1605d75f1994b03d30ec8b 100644 (file)
@@ -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();