compiler, runtime: open code select

Programming / Compilers / GCC - ian [138bc75d-0d04-0410-961f-82ee72b054a4] - 13 September 2018 21:32 EDT

This is the gofrontend version of https://golang.org/cl/37933, https://golang.org/cl/37934, and https://golang.org/cl/37935. Open code the initialization of select cases.

This is a step toward updating libgo to the 1.11 release.

Reviewed-on: https://go-review.googlesource.com/135000

86a71ed0375 compiler, runtime: open code select
gcc/go/gofrontend/MERGE | 2 +-
gcc/go/gofrontend/escape.cc | 25 ++--
gcc/go/gofrontend/runtime.def | 20 +--
gcc/go/gofrontend/statements.cc | 232 ++++++++++++++++++++++-------------
gcc/go/gofrontend/statements.h | 50 ++++++--
gcc/go/gofrontend/types.cc | 46 ++-----
gcc/go/gofrontend/types.h | 2 +-
libgo/go/runtime/select.go | 266 +++++++++-------------------------------
8 files changed, 278 insertions(+), 365 deletions(-)

Upstream: gcc.gnu.org


  • Share