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.h | |
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.h')
-rw-r--r-- | llvm/lib/Bytecode/Writer/SlotCalculator.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Bytecode/Writer/SlotCalculator.h b/llvm/lib/Bytecode/Writer/SlotCalculator.h index e20bc62a24f..1dc0cc37bd3 100644 --- a/llvm/lib/Bytecode/Writer/SlotCalculator.h +++ b/llvm/lib/Bytecode/Writer/SlotCalculator.h @@ -75,13 +75,13 @@ public: /// 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; } |