[llvm-commits] CVS: llvm/lib/Bytecode/Writer/Writer.cpp 
    Chris Lattner 
    lattner at cs.uiuc.edu
       
    Fri May 13 16:36:03 PDT 2005
    
    
  
Changes in directory llvm/lib/Bytecode/Writer:
Writer.cpp updated: 1.104 -> 1.105
---
Log message:
fix the assertion
---
Diffs of the changes:  (+1 -1)
 Writer.cpp |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)
Index: llvm/lib/Bytecode/Writer/Writer.cpp
diff -u llvm/lib/Bytecode/Writer/Writer.cpp:1.104 llvm/lib/Bytecode/Writer/Writer.cpp:1.105
--- llvm/lib/Bytecode/Writer/Writer.cpp:1.104	Fri May  6 21:44:04 2005
+++ llvm/lib/Bytecode/Writer/Writer.cpp	Fri May 13 18:35:47 2005
@@ -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();
 
    
    
More information about the llvm-commits
mailing list