Changes in directory llvm/lib/Bytecode/Writer:
SlotCalculator.cpp updated: 1.106 -> 1.107 SlotCalculator.h updated: 1.46 -> 1.47 --- Log message: use typedefs where appropriate --- Diffs of the changes: (+3 -3) SlotCalculator.cpp | 2 +- SlotCalculator.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) Index: llvm/lib/Bytecode/Writer/SlotCalculator.cpp diff -u llvm/lib/Bytecode/Writer/SlotCalculator.cpp:1.106 llvm/lib/Bytecode/Writer/SlotCalculator.cpp:1.107 --- llvm/lib/Bytecode/Writer/SlotCalculator.cpp:1.106 Sat Feb 10 00:38:19 2007 +++ llvm/lib/Bytecode/Writer/SlotCalculator.cpp Sat Feb 10 00:42:23 2007 @@ -256,7 +256,7 @@ unsigned SlotCalculator::getOrCreateTypeSlot(const Type *Ty) { - std::map<const Type*, unsigned>::iterator TyIt = TypeMap.find(Ty); + TypeMapType::iterator TyIt = TypeMap.find(Ty); if (TyIt != TypeMap.end()) return TyIt->second; // Insert into TypeMap. Index: llvm/lib/Bytecode/Writer/SlotCalculator.h diff -u llvm/lib/Bytecode/Writer/SlotCalculator.h:1.46 llvm/lib/Bytecode/Writer/SlotCalculator.h:1.47 --- llvm/lib/Bytecode/Writer/SlotCalculator.h:1.46 Sat Feb 10 00:38:19 2007 +++ llvm/lib/Bytecode/Writer/SlotCalculator.h Sat Feb 10 00:42:23 2007 @@ -75,13 +75,13 @@ /// plane. This returns < 0 on error! /// unsigned getSlot(const Value *V) const { - std::map<const Value*, unsigned>::const_iterator I = NodeMap.find(V); + NodeMapType::const_iterator I = NodeMap.find(V); assert(I != NodeMap.end() && "Value not in slotcalculator!"); return I->second; } unsigned getTypeSlot(const Type* T) const { - std::map<const Type*, unsigned>::const_iterator I = TypeMap.find(T); + TypeMapType::const_iterator I = TypeMap.find(T); assert(I != TypeMap.end() && "Type not in slotcalc!"); return I->second; } _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits