Fix a comment.
authorReid Spencer <rspencer@reidspencer.com>
Sat, 10 Feb 2007 11:59:10 +0000 (11:59 +0000)
committerReid Spencer <rspencer@reidspencer.com>
Sat, 10 Feb 2007 11:59:10 +0000 (11:59 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34146 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Bytecode/Writer/SlotCalculator.cpp

index 6dbaba5dec42eea2390c7f8bb8b21803207fa8ed..0c8ba48be7d3619cbfa8d9e683d6684e52476f41 100644 (file)
@@ -55,7 +55,7 @@ void SlotCalculator::insertPrimitives() {
   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