]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: pass an explicit position to namedAuto
authorJosh Bleecher Snyder <josharian@gmail.com>
Wed, 22 Mar 2017 03:58:00 +0000 (20:58 -0700)
committerJosh Bleecher Snyder <josharian@gmail.com>
Wed, 22 Mar 2017 16:14:07 +0000 (16:14 +0000)
commit0b4e8d00fe6267550e7e11149f6cd992e6edd04d
treeace3f9471b6a59cbe3c56c2b39fa7c52a9dd303c
parent2f2cd557a642b96a697b09cc84c0a5e342d41d3b
cmd/compile: pass an explicit position to namedAuto

To enable this, inline the call to nod and simplify.
Eliminates a reference to lineno from the backend.

Passes toolstash-check -all.

Updates #15756

Change-Id: I9c4bd77d10d727aa8f5e6c6bb16b0e05de165631
Reviewed-on: https://go-review.googlesource.com/38441
Run-TryBot: Josh Bleecher Snyder <josharian@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Matthew Dempsky <mdempsky@google.com>
src/cmd/compile/internal/gc/ssa.go