projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a8217e3
)
fix the assertion
author
Chris Lattner
<sabre@nondot.org>
Fri, 13 May 2005 23:35:47 +0000
(23:35 +0000)
committer
Chris 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
patch
|
blob
|
history
diff --git
a/lib/Bytecode/Writer/Writer.cpp
b/lib/Bytecode/Writer/Writer.cpp
index aafc3529c3bc1efdee3e2321ef487d3e866ae023..fb5a1aa60317e710eb1605d75f1994b03d30ec8b 100644
(file)
--- 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();