aboutsummaryrefslogtreecommitdiff
path: root/lib/Bytecode/Writer/SlotCalculator.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Bytecode/Writer/SlotCalculator.h')
-rw-r--r--lib/Bytecode/Writer/SlotCalculator.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Bytecode/Writer/SlotCalculator.h b/lib/Bytecode/Writer/SlotCalculator.h
index e20bc62a24..1dc0cc37bd 100644
--- a/lib/Bytecode/Writer/SlotCalculator.h
+++ b/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;
}