]> Cypherpunks repositories - gostls13.git/commit
cmd/compile,runtime: remove ambiguously live logic
authorKeith Randall <keithr@alum.mit.edu>
Fri, 7 Sep 2018 21:55:09 +0000 (14:55 -0700)
committerKeith Randall <khr@golang.org>
Wed, 3 Oct 2018 19:54:16 +0000 (19:54 +0000)
commit9a8372f8bd5a39d2476bfa9247407b51f9193b9e
treec8383f43af15466e5320044f5910c55073c41592
parentcbafcc55e80d5b444e659a892b739c04a27980d3
cmd/compile,runtime: remove ambiguously live logic

The previous CL introduced stack objects. This CL removes the old
ambiguously live liveness analysis. After this CL we're relying
on stack objects exclusively.

Update a bunch of liveness tests to reflect the new world.

Fixes #22350

Change-Id: I739b26e015882231011ce6bc1a7f426049e59f31
Reviewed-on: https://go-review.googlesource.com/c/134156
Reviewed-by: Austin Clements <austin@google.com>
Reviewed-by: Cherry Zhang <cherryyz@google.com>
16 files changed:
src/cmd/compile/internal/gc/op_string.go
src/cmd/compile/internal/gc/plive.go
src/cmd/compile/internal/gc/sinit.go
src/cmd/compile/internal/gc/ssa.go
src/cmd/compile/internal/gc/syntax.go
src/cmd/compile/internal/ssa/gen/genericOps.go
src/runtime/chan.go
src/runtime/gcinfo_test.go
src/runtime/mbitmap.go
test/fixedbugs/issue20250.go
test/live.go
test/live2.go
test/live_syscall.go
test/stackobj.go [new file with mode: 0644]
test/stackobj3.go [new file with mode: 0644]
test/uintptrescapes2.go