diff options
author | Chris Lattner <sabre@nondot.org> | 2005-05-13 23:35:47 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2005-05-13 23:35:47 +0000 |
commit | 4e63e3f5c847cb3afe8f7ed4cef7b7f5d523452b (patch) | |
tree | 861e21f184e811c7a7939d8040f3c90676bd6539 /llvm/lib/Bytecode | |
parent | cbefe72fb280e298f79745c3be041957762b1cea (diff) | |
download | bcm5719-llvm-4e63e3f5c847cb3afe8f7ed4cef7b7f5d523452b.tar.gz bcm5719-llvm-4e63e3f5c847cb3afe8f7ed4cef7b7f5d523452b.zip |
fix the assertion
llvm-svn: 21994
Diffstat (limited to 'llvm/lib/Bytecode')
-rw-r--r-- | llvm/lib/Bytecode/Writer/Writer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Bytecode/Writer/Writer.cpp b/llvm/lib/Bytecode/Writer/Writer.cpp index aafc3529c3b..fb5a1aa6031 100644 --- a/llvm/lib/Bytecode/Writer/Writer.cpp +++ b/llvm/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(); |