aboutsummaryrefslogtreecommitdiff
path: root/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
commitdc45f0fb40fd95388622022a8f22cb2d904a6d9a (patch)
treefcff04b88ff0b5967e913cab1f8b595f9630495e /lib/Bytecode/Writer/SlotCalculator.cpp
parent13dc07c7dc9ca99634fe8342ec4748536b31d88f (diff)
use typedefs where appropriate
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34136 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Bytecode/Writer/SlotCalculator.cpp')
-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 5ad6564f81..6dbaba5dec 100644
--- a/lib/Bytecode/Writer/SlotCalculator.cpp
+++ b/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.