diff --git a/lib/Bytecode/Writer/SlotCalculator.h b/lib/Bytecode/Writer/SlotCalculator.h index 1dc0cc37bd3..8bb87dd434a 100644 --- a/lib/Bytecode/Writer/SlotCalculator.h +++ b/lib/Bytecode/Writer/SlotCalculator.h @@ -50,7 +50,7 @@ class SlotCalculator { typedef std::vector TypePlane; std::vector Table; TypeList Types; - typedef std::map NodeMapType; + typedef DenseMap NodeMapType; NodeMapType NodeMap; typedef std::map TypeMapType;