diff options
author | Chris Lattner <sabre@nondot.org> | 2007-02-10 06:42:23 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2007-02-10 06:42:23 +0000 |
commit | 733a841633aac55edcd3fbd16714caeb448a06c2 (patch) | |
tree | a8afeb262efe4d0d3f1af80f8147f3ac622b35a0 /llvm/lib/Bytecode/Writer/SlotCalculator.cpp | |
parent | cdde9ce28be872d1ae9560f08ca90fa21b7a1869 (diff) | |
download | bcm5719-llvm-733a841633aac55edcd3fbd16714caeb448a06c2.tar.gz bcm5719-llvm-733a841633aac55edcd3fbd16714caeb448a06c2.zip |
use typedefs where appropriate
llvm-svn: 34136
Diffstat (limited to 'llvm/lib/Bytecode/Writer/SlotCalculator.cpp')
-rw-r--r-- | llvm/lib/Bytecode/Writer/SlotCalculator.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Bytecode/Writer/SlotCalculator.cpp b/llvm/lib/Bytecode/Writer/SlotCalculator.cpp index 5ad6564f818..6dbaba5dec4 100644 --- a/llvm/lib/Bytecode/Writer/SlotCalculator.cpp +++ b/llvm/lib/Bytecode/Writer/SlotCalculator.cpp @@ -256,7 +256,7 @@ void SlotCalculator::CreateSlotIfNeeded(const Value *V) { 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. |