]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: convert to using a map in getInstInfo, rather than SetImplicit()
authorDan Scales <danscales@google.com>
Fri, 15 Oct 2021 18:54:25 +0000 (11:54 -0700)
committerDan Scales <danscales@google.com>
Fri, 15 Oct 2021 21:44:07 +0000 (21:44 +0000)
commit4a7975e73a2815b93caf6697fec4f4e777e729a1
tree0e2953173f400e5ca841df401dcee4cc22271ac6
parent1b072b3ed56c18619587354f499fcda5279718a2
cmd/compile: convert to using a map in getInstInfo, rather than SetImplicit()

SetImplicit() has an explicit meaning and really shouldn't be used in
this way - its use is left over from early prototype of the dictionary
code. Convert from using SetImplicit to just using a map during
traversal.

Change-Id: I3d257c101a859f000e159d7ced307d1b7cf990d4
Reviewed-on: https://go-review.googlesource.com/c/go/+/356310
Run-TryBot: Dan Scales <danscales@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Keith Randall <khr@golang.org>
Trust: Dan Scales <danscales@google.com>
src/cmd/compile/internal/noder/stencil.go