Skip to content
This repository has been archived by the owner on Aug 20, 2024. It is now read-only.

Commit

Permalink
Use HashMap instead of LinkedHashMap in ResolveKinds
Browse files Browse the repository at this point in the history
  • Loading branch information
jackkoenig authored and albert-magyar committed May 14, 2020
1 parent 66d8c75 commit 0f78e2d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/scala/firrtl/passes/ResolveKinds.scala
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0f78e2d

Please sign in to comment.