aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/compile/internal/ssa/export_test.go
diff options
context:
space:
mode:
authorJosh Bleecher Snyder <josharian@gmail.com>2017-03-18 14:39:48 -0700
committerJosh Bleecher Snyder <josharian@gmail.com>2017-03-19 05:02:07 +0000
commit62947bedd28a884b46f5df71070a9e86dad17081 (patch)
tree9f4626924f825ea986aa0f73e8b7a16ee8d9dbc0 /src/cmd/compile/internal/ssa/export_test.go
parent872db7998937b310635a99055e066904425559bb (diff)
downloadgo-62947bedd28a884b46f5df71070a9e86dad17081.tar.gz
go-62947bedd28a884b46f5df71070a9e86dad17081.zip
cmd/compile: canonicalize empty interface types
Mapping all empty interfaces onto the same Type allows better reuse of the ptrTo and sliceOf Type caches for *interface{} and []interface{}. This has little compiler performance impact now, but it will be helpful in the future, when we will eagerly populate some of those caches. Passes toolstash-check. Change-Id: I17daee599a129b0b2f5f3025c1be43d569d6782c Reviewed-on: https://go-review.googlesource.com/38344 Run-TryBot: Josh Bleecher Snyder <josharian@gmail.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Matthew Dempsky <mdempsky@google.com>
Diffstat (limited to 'src/cmd/compile/internal/ssa/export_test.go')
0 files changed, 0 insertions, 0 deletions