summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Bytecode/Writer/SlotCalculator.cpp
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
commit16731591255f93c52218fbbc4455bc0a3587d32e (patch)
treef4f85ad82994928221f61fa5f168c5d21232e0c7 /llvm/lib/Bytecode/Writer/SlotCalculator.cpp
parent59a8d2c30f4d7a11625bd7849c34be9582b11468 (diff)
downloadbcm5719-llvm-16731591255f93c52218fbbc4455bc0a3587d32e.tar.gz
bcm5719-llvm-16731591255f93c52218fbbc4455bc0a3587d32e.zip
Fix a comment.
llvm-svn: 34146
Diffstat (limited to 'llvm/lib/Bytecode/Writer/SlotCalculator.cpp')
-rw-r--r--llvm/lib/Bytecode/Writer/SlotCalculator.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Bytecode/Writer/SlotCalculator.cpp b/llvm/lib/Bytecode/Writer/SlotCalculator.cpp
index 6dbaba5dec4..0c8ba48be7d 100644
--- a/llvm/lib/Bytecode/Writer/SlotCalculator.cpp
+++ b/llvm/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
OpenPOWER on IntegriCloud