]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: use autogenerated position for init functions
authorJosh Bleecher Snyder <josharian@gmail.com>
Mon, 20 Mar 2017 22:32:00 +0000 (15:32 -0700)
committerJosh Bleecher Snyder <josharian@gmail.com>
Tue, 21 Mar 2017 03:59:54 +0000 (03:59 +0000)
commit49a533e212973d4403de640005fdcf88a23f91c4
tree92aaa5a450467ff8ac843514034b3e5e096d2a85
parent346d5883eb53d3e3a5bac7ee37beaa3db5c01fd8
cmd/compile: use autogenerated position for init functions

This eliminates an old TODO,
and stabilizes the position information
for init functions.

Change-Id: Idf2d9a16a60e097ee08f42541b87e170da2f9d3a
Reviewed-on: https://go-review.googlesource.com/38388
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/init.go
src/cmd/compile/internal/gc/noder.go