summaryrefslogtreecommitdiff
path: root/lib/Bytecode
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2007-02-10 11:59:10 +0000
committerReid Spencer <rspencer@reidspencer.com>2007-02-10 11:59:10 +0000
commitc834553b72bbfeb09abc9a7cb8ab1b32d2d36e24 (patch)
treec3230a68fe82b399059e37630d7abcafd32bb794 /lib/Bytecode
parentf8edb62e228a936334a821b59618b24ee02d45d8 (diff)
Fix a comment.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34146 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Bytecode')
-rw-r--r--lib/Bytecode/Writer/SlotCalculator.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Bytecode/Writer/SlotCalculator.cpp b/lib/Bytecode/Writer/SlotCalculator.cpp
index 6dbaba5dec4..0c8ba48be7d 100644
--- a/lib/Bytecode/Writer/SlotCalculator.cpp
+++ b/lib/Bytecode/Writer/SlotCalculator.cpp
@@ -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