summaryrefslogtreecommitdiffstats
path: root/lib/Bytecode
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2005-05-13 23:35:47 +0000
committerChris Lattner <sabre@nondot.org>2005-05-13 23:35:47 +0000
commitbfed9247f127b1864be725d4a4d6f3989a9e86aa (patch)
treeb0c34b572b7ba25c0eb46901bdfb0e718b5c7b3c /lib/Bytecode
parenta8217e3000b5b01c4a95316aef078a9d02a9a119 (diff)
downloadexternal_llvm-bfed9247f127b1864be725d4a4d6f3989a9e86aa.zip
external_llvm-bfed9247f127b1864be725d4a4d6f3989a9e86aa.tar.gz
external_llvm-bfed9247f127b1864be725d4a4d6f3989a9e86aa.tar.bz2
fix the assertion
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21994 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Bytecode')
-rw-r--r--lib/Bytecode/Writer/Writer.cpp2
1 files changed, 1 insertions, 1 deletions
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 @@ 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();