1
0
mirror of https://github.com/golang/go synced 2024-11-08 08:46:17 -07:00
go/src/cmd
David Chase 38c725b148 cmd/compile: repair name propagation into aggregate parts
For structs, slices, strings, interfaces, etc, propagation of
names to their components (e.g., complex.real, complex.imag)
is fragile (depends on phase ordering) and not done right
for the "dec" pass.

The dec pass is subsumed into decomposeBuiltin,
and then names are pushed into the args of all
OpFooMake opcodes.

compile/ssa/debug_test.go was fixed to pay attention to
variable values, and the reference files include checks
for the fixes in this CL (which make debugging better).

Change-Id: Ic2591ebb1698d78d07292b92c53667e6c37fa0cd
Reviewed-on: https://go-review.googlesource.com/73210
Run-TryBot: David Chase <drchase@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Heschi Kreinick <heschi@google.com>
2017-11-05 17:30:11 +00:00
..
addr2line
api all: revert "all: prefer strings.IndexByte over strings.Index" 2017-10-05 23:19:10 +00:00
asm cmd/internal/obj/x86: add most missing AVX1/2 insts 2017-11-03 15:32:07 +00:00
buildid cmd/buildid: add new tool factoring out code needed by go command 2017-10-11 18:16:02 +00:00
cgo cmd/cgo: remove unnecessary nil check 2017-11-01 08:21:26 +00:00
compile cmd/compile: repair name propagation into aggregate parts 2017-11-05 17:30:11 +00:00
cover cmd/cover: don't try to attach directives to synthetic decls 2017-10-17 22:14:28 +00:00
dist cmd/go: do not install dependencies during "go install" 2017-11-03 22:09:46 +00:00
doc all: revert "all: prefer strings.LastIndexByte over strings.LastIndex" 2017-10-05 23:19:42 +00:00
fix all: revert "all: prefer strings.LastIndexByte over strings.LastIndex" 2017-10-05 23:19:42 +00:00
go cmd/go: do not install dependencies during "go install" 2017-11-03 22:09:46 +00:00
gofmt
internal cmd/internal/obj/x86: add most missing AVX1/2 insts 2017-11-03 15:32:07 +00:00
link cmd/link: restore windows stack commit size back to 4KB 2017-11-03 00:09:40 +00:00
nm cmd/internal/goobj: accept int64 in readInt 2017-11-01 18:23:58 +00:00
objdump cmd/internal/goobj: accept int64 in readInt 2017-11-01 18:23:58 +00:00
pack
pprof
trace cmd/trace: fix a javascript bug in handling import error 2017-10-20 16:34:50 +00:00
vendor cmd/vendor/github.com/google/pprof: refresh from upstream 2017-11-03 17:45:05 +00:00
vet cmd/go: run vet automatically during go test 2017-11-03 22:09:38 +00:00