[llvm-commits] CVS: llvm/lib/Bytecode/Writer/Writer.cpp

Chris Lattner lattner at cs.uiuc.edu
Wed Oct 13 19:31:48 PDT 2004



Changes in directory llvm/lib/Bytecode/Writer:

Writer.cpp updated: 1.82 -> 1.83
---
Log message:

Today is not my day.  Fix broken #


---
Diffs of the changes:  (+1 -1)

Index: llvm/lib/Bytecode/Writer/Writer.cpp
diff -u llvm/lib/Bytecode/Writer/Writer.cpp:1.82 llvm/lib/Bytecode/Writer/Writer.cpp:1.83
--- llvm/lib/Bytecode/Writer/Writer.cpp:1.82	Wed Oct 13 21:06:48 2004
+++ llvm/lib/Bytecode/Writer/Writer.cpp	Wed Oct 13 21:31:35 2004
@@ -896,7 +896,7 @@
 
     // Fields: bit0 = isConstant, bit1 = hasInitializer, bit2-4=Linkage,
     // bit5+ = Slot # for type
-    unsigned oSlot = ((unsigned)Slot << 6) | (getEncodedLinkage(I) << 2) |
+    unsigned oSlot = ((unsigned)Slot << 5) | (getEncodedLinkage(I) << 2) |
                      (I->hasInitializer() << 1) | (unsigned)I->isConstant();
     output_vbr(oSlot );
 






More information about the llvm-commits mailing list