From 0f78e2df9d8f03e6847a012873fc2408b62d0692 Mon Sep 17 00:00:00 2001 From: Jack Koenig Date: Fri, 13 Mar 2020 23:45:53 -0700 Subject: [PATCH] Use HashMap instead of LinkedHashMap in ResolveKinds --- src/main/scala/firrtl/passes/ResolveKinds.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/scala/firrtl/passes/ResolveKinds.scala b/src/main/scala/firrtl/passes/ResolveKinds.scala index 73c8646ac8..1fffcbbf95 100644 --- a/src/main/scala/firrtl/passes/ResolveKinds.scala +++ b/src/main/scala/firrtl/passes/ResolveKinds.scala @@ -11,7 +11,7 @@ object ResolveKinds extends Pass with PreservesAll[Transform] { override def prerequisites = firrtl.stage.Forms.WorkingIR - type KindMap = collection.mutable.LinkedHashMap[String, Kind] + type KindMap = collection.mutable.HashMap[String, Kind] def find_port(kinds: KindMap)(p: Port): Port = { kinds(p.name) = PortKind ; p