summaryrefslogtreecommitdiff
path: root/src/main/scala/chisel3/util
diff options
context:
space:
mode:
authormergify[bot]2022-02-03 04:23:48 +0000
committerGitHub2022-02-03 04:23:48 +0000
commit8776e58ff91cd88562b957d7a09322ec16610b81 (patch)
tree6b7468e62aeaa99abfc6d95597c72c292f461b2b /src/main/scala/chisel3/util
parent6048c973f0c1c6e80a7a9e8ef6cec71ef0695e68 (diff)
Tweak Bundle._elementsImpl (#2390) (#2392)
* Change type of Bundle._elementsImpl to Iterable It was previously SeqMap (ListMap on Scala 2.12). This change gives us more freedom to optimize the implementation without breaking binary compatibility. It is scala.collection.Iterable because it is perfectly fine to return mutable collections (like Arrays) since the only use is to Iterate on them. * Disallow users implementing Bundle._elementsImpl Currently, it would result in a runtime linkage error. This turns it into a compile-time error. Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> (cherry picked from commit 1b05a14ad6d5784f3b91ab510dc1095423c23ea8) Co-authored-by: Jack Koenig <koenig@sifive.com>
Diffstat (limited to 'src/main/scala/chisel3/util')
0 files changed, 0 insertions, 0 deletions