]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: separate out sparsemaps that need position
authorKeith Randall <khr@golang.org>
Fri, 21 Oct 2022 21:16:41 +0000 (14:16 -0700)
committerKeith Randall <khr@google.com>
Mon, 31 Oct 2022 21:41:06 +0000 (21:41 +0000)
commit7ddc45263c739db254a07bb04848e3e5da4982ed
tree64b722b9280e56cfc5a6d24770825832722660ef
parent9ce27feaeb91b2f30ff8cbe3be1ece3071f3f6b2
cmd/compile: separate out sparsemaps that need position

Make them a separate type, so the normal sparse maps don't
need the extra storage.

Change-Id: I3a0219487c35ea63723499723b0c742e321d97c4
Reviewed-on: https://go-review.googlesource.com/c/go/+/444819
Reviewed-by: Heschi Kreinick <heschi@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Keith Randall <khr@golang.org>
Reviewed-by: David Chase <drchase@google.com>
src/cmd/compile/internal/ssa/biasedsparsemap.go
src/cmd/compile/internal/ssa/cache.go
src/cmd/compile/internal/ssa/deadstore.go
src/cmd/compile/internal/ssa/func.go
src/cmd/compile/internal/ssa/nilcheck.go
src/cmd/compile/internal/ssa/regalloc.go
src/cmd/compile/internal/ssa/sparsemap.go
src/cmd/compile/internal/ssa/sparsemappos.go [new file with mode: 0644]