]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: refactor and cleanup of common code/workaround
authorDavid Chase <drchase@google.com>
Fri, 18 May 2018 19:11:30 +0000 (15:11 -0400)
committerDavid Chase <drchase@google.com>
Fri, 18 May 2018 21:00:56 +0000 (21:00 +0000)
commit529362e1e2d68c1740ee71a7d5ece3f2c5190791
tree25b11809cfd93fd19ddecd8dcd708c8a0607ea8d
parent1771edb5904524deb6ef0c846e5357fd35c756fb
cmd/compile: refactor and cleanup of common code/workaround

There's a glitch in how attributes from procs that do not
generate code are combined, and the workaround for this
glitch appeared in two places.

"One big pile is better than two little ones."

Updates #25426.

Change-Id: I252f9adc5b77591720a61fa22e6f9dda33d95350
Reviewed-on: https://go-review.googlesource.com/113717
Run-TryBot: David Chase <drchase@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Josh Bleecher Snyder <josharian@gmail.com>
src/cmd/compile/internal/gc/gsubr.go
src/cmd/compile/internal/gc/ssa.go
src/cmd/compile/internal/ssa/numberlines.go