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

Reid Spencer reid at x10sys.com
Sat Feb 10 03:59:26 PST 2007



Changes in directory llvm/lib/Bytecode/Writer:

SlotCalculator.cpp updated: 1.107 -> 1.108
---
Log message:

Fix a comment.


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

 SlotCalculator.cpp |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)


Index: llvm/lib/Bytecode/Writer/SlotCalculator.cpp
diff -u llvm/lib/Bytecode/Writer/SlotCalculator.cpp:1.107 llvm/lib/Bytecode/Writer/SlotCalculator.cpp:1.108
--- llvm/lib/Bytecode/Writer/SlotCalculator.cpp:1.107	Sat Feb 10 00:42:23 2007
+++ llvm/lib/Bytecode/Writer/SlotCalculator.cpp	Sat Feb 10 05:59:10 2007
@@ -55,7 +55,7 @@
   getOrCreateTypeSlot(Type::LabelTy ); // 3: LabelTySlot
   assert(TypeMap.size() == Type::FirstDerivedTyID &&"Invalid primitive insert");
   // Above here *must* correspond 1:1 with the primitive types.
-  getOrCreateTypeSlot(Type::Int1Ty  ); // 4: BoolTySlot
+  getOrCreateTypeSlot(Type::Int1Ty  ); // 4: Int1TySlot
   getOrCreateTypeSlot(Type::Int8Ty  ); // 5: Int8TySlot
   getOrCreateTypeSlot(Type::Int16Ty ); // 6: Int16TySlot
   getOrCreateTypeSlot(Type::Int32Ty ); // 7: Int32TySlot






More information about the llvm-commits mailing list