commit | bfed9247f127b1864be725d4a4d6f3989a9e86aa | [log] [tgz] |
---|---|---|
author | Chris Lattner <sabre@nondot.org> | Fri May 13 23:35:47 2005 +0000 |
committer | Chris Lattner <sabre@nondot.org> | Fri May 13 23:35:47 2005 +0000 |
tree | b0c34b572b7ba25c0eb46901bdfb0e718b5c7b3c | |
parent | a8217e3000b5b01c4a95316aef078a9d02a9a119 [diff] [blame] |
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 aafc352..fb5a1aa 100644 --- a/lib/Bytecode/Writer/Writer.cpp +++ b/lib/Bytecode/Writer/Writer.cpp
@@ -607,7 +607,7 @@ } 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();