]> Cypherpunks repositories - gostls13.git/commit
cmd/gc: remove C subclassing trick from popt.c
authorRuss Cox <rsc@golang.org>
Thu, 5 Feb 2015 10:18:08 +0000 (05:18 -0500)
committerRuss Cox <rsc@golang.org>
Wed, 11 Feb 2015 20:46:16 +0000 (20:46 +0000)
commit1250d2e3742c15054fd94ca43aadae5ef39da539
treebf43c504cb5950ced05a8f3d6ea8a1436e893592
parentad88fd1d4ac4b5d66c10456cdf37ee0f233d87ce
cmd/gc: remove C subclassing trick from popt.c

It does not convert to Go well.

Being able to do this just once, instead of 4 times, was the primary
motivation for all the recent refactoring (not that it wasn't overdue).

Still bit-for-bit identical.

Change-Id: Ia01f17948441bf64fa78ec4226f0bb40af0bbaab
Reviewed-on: https://go-review.googlesource.com/3962
Reviewed-by: Austin Clements <austin@google.com>
src/cmd/5g/peep.c
src/cmd/6g/peep.c
src/cmd/8g/peep.c
src/cmd/9g/peep.c
src/cmd/gc/go.h
src/cmd/gc/popt.c
src/cmd/gc/popt.h
src/cmd/gc/reg.c