summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Bytecode/Writer/SlotCalculator.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2007-02-10 06:42:23 +0000
committerChris Lattner <sabre@nondot.org>2007-02-10 06:42:23 +0000
commit733a841633aac55edcd3fbd16714caeb448a06c2 (patch)
treea8afeb262efe4d0d3f1af80f8147f3ac622b35a0 /llvm/lib/Bytecode/Writer/SlotCalculator.cpp
parentcdde9ce28be872d1ae9560f08ca90fa21b7a1869 (diff)
downloadbcm5719-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.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 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.
OpenPOWER on IntegriCloud