]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: make LivenessMap sparse
authorAustin Clements <austin@google.com>
Mon, 27 Apr 2020 23:18:48 +0000 (19:18 -0400)
committerAustin Clements <austin@google.com>
Wed, 29 Apr 2020 21:29:20 +0000 (21:29 +0000)
commitee7d9f1c37c768b859c27dec2a897b12fa928c4e
treed20cf59b382005f360e998386867e1494d59a856
parent601bc41da2378b342ea3bb2f0e7ab961dfe508a4
cmd/compile: make LivenessMap sparse

We're about to switch to having significantly fewer maps in the
liveness map, so switch from a dense representation to a sparse
representation.

Passes toolstash-check.

For #36365.

Change-Id: Icb17bd6ace17667a280bc5fba4039cae3020a8d1
Reviewed-on: https://go-review.googlesource.com/c/go/+/230543
Run-TryBot: Austin Clements <austin@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Cherry Zhang <cherryyz@google.com>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/cmd/compile/internal/gc/plive.go