go/src
Austin Clements bdb65da049 cmd/compile: don't compact liveness maps in place
Currently Liveness.compact rewrites the Liveness.livevars slice in
place. However, we're about to add register maps, which we'll want to
track in livevars, but compact independently from the stack maps.
Hence, this CL modifies Liveness.compact to consume Liveness.livevars
and produce a new slice of deduplicated stack maps. This is somewhat
clearer anyway because it avoids potential confusion over how
Liveness.livevars is indexed.

Passes toolstash -cmp.

For #24543.

Change-Id: I7093fbc71143f8a29e677aa30c96e501f953ca2b
Reviewed-on: https://go-review.googlesource.com/108498
Run-TryBot: Austin Clements <austin@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: David Chase <drchase@google.com>
2018-04-23 16:32:16 +00:00
..
archive go/printer, gofmt: tuned table alignment for better results 2018-04-04 13:39:34 -07:00
bufio bufio: document ReadFrom/WriteTo calls to underlying methods 2018-03-28 22:21:52 +00:00
builtin
bytes internal/bytealg: move short string Index implementations into bytealg 2018-03-04 19:49:44 +00:00
cmd cmd/compile: don't compact liveness maps in place 2018-04-23 16:32:16 +00:00
compress compress/flate: optimize huffSym 2018-04-17 22:37:49 +00:00
container container/heap: fix comments style 2018-04-11 20:11:09 +00:00
context context: avoid defer in the cancelCtx.Err method 2018-04-15 21:35:53 +00:00
crypto crypto/md5: make receiver name consistent 2018-04-23 14:49:45 +00:00
database/sql database/sql: remove unnecessary else conditions 2018-04-19 18:57:52 +00:00
debug debug/elf: add riscv64 relocations 2018-04-18 13:19:31 +00:00
encoding encoding/json: remove unnecessary if conditions 2018-04-20 01:41:41 +00:00
errors
expvar all: use strings.Builder instead of bytes.Buffer where appropriate 2018-03-26 23:05:53 +00:00
flag flag: correct zero values when printing defaults 2018-04-01 20:17:22 +00:00
fmt fmt: make %v doc for compound objects consistent 2018-04-17 23:47:44 +00:00
go go/internal/gcimporter: extract ChanDir and fake FileSet logic 2018-04-17 23:47:04 +00:00
hash crypto: remove hand encoded amd64 instructions 2018-03-01 19:20:53 +00:00
html text/template: copy Decl field when copying PipeNode 2018-04-10 14:26:58 +00:00
image all: fix non-standard "DO NOT EDIT" comments for generated files 2018-03-10 17:50:11 +00:00
index/suffixarray
internal net: document caveats for (*syscall.RawConn).Write on Windows 2018-04-21 00:48:00 +00:00
io io/ioutil: change TempFile prefix to a pattern 2018-04-12 20:00:25 +00:00
log
math math: add a testcase for Mod and Remainder respectively 2018-04-17 03:17:22 +00:00
mime mime: add wasm architecture 2018-04-13 20:20:12 +00:00
net net/http: remove unnecessary parameter type 2018-04-22 17:30:54 +00:00
os os/signal: add func Ignored(sig Signal) bool 2018-04-21 04:18:03 +00:00
path path/filepath: change example to print the correct path on failure 2018-03-26 17:40:01 +00:00
plugin
reflect reflect: define MyBuffer more locally in TestImplicitMapConversion 2018-04-18 12:47:39 +00:00
regexp regexp: use sync.Pool to cache regexp.machine objects 2018-04-03 16:03:19 +00:00
runtime os/signal: add func Ignored(sig Signal) bool 2018-04-21 04:18:03 +00:00
sort sort: fix typo in comment 2018-04-22 22:32:11 +00:00
strconv strconv: make code formatting more consistent in doc.go 2018-03-19 12:53:16 +00:00
strings strings: fix flaky TestBuilderGrow test 2018-04-03 00:11:46 +00:00
sync sync/atomic: use package prefix in examples 2018-04-18 23:58:54 +00:00
syscall syscall: avoid extra syscall on send/recvmsg on Linux 2018-04-19 22:16:24 +00:00
testing testing: failfast fails fast when Fatal called 2018-04-17 04:02:53 +00:00
text text/template: improve comment example in doc 2018-04-19 09:21:51 +00:00
time time: increase test coverage for Time.Sub 2018-04-16 21:14:40 +00:00
unicode
unsafe unsafe: fix reference to string header 2018-02-26 18:35:46 +00:00
vendor/golang_org/x net/http: omit forbidden Trailer headers from response 2018-04-16 17:44:41 +00:00
Make.dist
all.bash
all.bat
all.rc
androidtest.bash androidtest.bash: don't require GOARCH set 2018-03-07 14:01:43 +00:00
bootstrap.bash
buildall.bash
clean.bash
clean.bat
clean.rc
cmp.bash
iostest.bash iostest.bash: don't build std library twice 2018-03-06 16:08:20 +00:00
make.bash
make.bat build: small cleanup in error message in make.bat 2018-02-26 10:27:14 +00:00
make.rc
naclmake.bash nacl*.bash: pass flags to make.bash 2018-02-14 17:09:31 +00:00
nacltest.bash nacl*.bash: pass flags to make.bash 2018-02-14 17:09:31 +00:00
race.bash
race.bat
run.bash src/run.bash: remove some trailing whitespace 2018-04-01 16:12:47 +00:00
run.bat
run.rc