1
0
mirror of https://github.com/golang/go synced 2024-11-08 06:36:14 -07:00
go/src/cmd
Austin Clements d7d9df8a5b cmd/compile: introduce LivenessMap and LivenessIndex
Currently liveness only produces a stack map index at each safe point,
so the information is summarized in a map[*ssa.Value]int. We're about
to have both a stack map index and a register map index, so replace
the int with a LivenessIndex type we can extend, and replace the map
with a LivenessMap that we can also change more easily in the future.

This also gives us an easy hook for defining the value that means "not
a safe point".

Passes toolstash -cmp.

For #24543.

Change-Id: Ic4c069839635efed4fd0f603899b80f8be3b56ec
Reviewed-on: https://go-review.googlesource.com/109347
Run-TryBot: Austin Clements <austin@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Keith Randall <khr@golang.org>
2018-05-22 14:43:36 +00:00
..
addr2line
api cmd/api: don’t rely on hardcoded go versions 2017-12-11 22:28:37 +00:00
asm cmd/internal/obj/x86: fix VPERMQ and VPERMPD ytab 2018-05-17 16:20:25 +00:00
buildid cmd/buildid: fix rewrite algorithm 2018-01-04 16:56:51 +00:00
cgo cmd/cgo: visit cgo type inside ellipsis node 2018-05-01 00:44:48 +00:00
compile cmd/compile: introduce LivenessMap and LivenessIndex 2018-05-22 14:43:36 +00:00
cover all: use strings.Builder instead of bytes.Buffer where appropriate 2018-03-26 23:05:53 +00:00
dist cmd/dist: add support for disabling test -short mode 2018-05-16 19:49:01 +00:00
doc cmd/doc: skip directories like other go tools 2018-05-01 05:02:43 +00:00
fix all: restore changes from faulty merge/revert 2018-02-12 20:13:59 +00:00
go cmd/go: test that Go binaries can be run on QEMU in user-mode 2018-05-21 18:13:25 +00:00
gofmt
internal cmd/internal/obj: consolidate emitting entry stack map 2018-05-22 14:43:35 +00:00
link cmd/link,runtime: move syscalls to libc on iOS 2018-05-21 20:35:00 +00:00
nm cmd/internal/goobj: accept int64 in readInt 2017-11-01 18:23:58 +00:00
objdump cmd/objdump: pass the correct execution mode to x86asm.Decode in disasm_x86 on 386 2017-11-10 20:11:20 +00:00
pack cmd: remove some unused parameters 2018-04-02 15:51:31 +00:00
pprof go/printer, gofmt: tuned table alignment for better results 2018-04-04 13:39:34 -07:00
test2json cmd/test2json: document missing "skip" action 2018-03-24 18:37:22 +00:00
trace cmd/trace: fix a few bugs found by staticcheck 2018-05-21 16:18:29 +00:00
vendor cmd/vendor/.../pprof: delete pprof.go file 2018-05-17 10:11:31 +00:00
vet cmd/link,runtime: move syscalls to libc on iOS 2018-05-21 20:35:00 +00:00