gcc/libgo/go
Ian Lance Taylor 313890530c runtime: eliminate scase.kind field
This is the gofrontend version of https://golang.org/cl/245125.

Original CL description:

    Currently, we include a "kind" field on scase to distinguish the three
    kinds of cases in a select statement: sends, receives, and defaults.

    This commit removes by kind field by instead arranging for the
    compiler to always place sends before receives, and to provide their
    counts separately. It also passes an explicit "block bool" parameter
    to avoid needing to include a default case in the array.

    It's safe to shuffle cases like this because the runtime will
    randomize the order they're polled in anyway.

    For golang/go#40410.

This is being brought over to gofrontend as a step toward upgrading to
Go1.16beta1.

Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/279735
2020-12-22 14:42:22 -08:00
..
archive libgo: update to Go1.14beta1 2020-01-21 23:53:22 -08:00
bufio libgo: update to go1.15rc1 2020-08-01 11:21:40 -07:00
builtin libgo: update to Go 1.13beta1 release 2019-09-06 18:12:46 +00:00
bytes libgo: update to Go 1.15.3 release 2020-10-27 13:58:02 -07:00
cmd libgo: update to 1.15.6 release 2020-12-08 14:01:04 -08:00
compress libgo: update to Go 1.15.4 release 2020-11-10 07:25:32 -08:00
container libgo: update to go1.15rc1 2020-08-01 11:21:40 -07:00
context libgo: update to go1.15rc1 2020-08-01 11:21:40 -07:00
crypto libgo: update to Go1.15rc2 release 2020-08-07 17:22:33 -07:00
database/sql libgo: update to go1.15rc1 2020-08-01 11:21:40 -07:00
debug libgo: add 32-bit RISC-V (RV32) support 2020-09-30 19:47:48 -07:00
encoding libgo: update to Go1.15rc2 release 2020-08-07 17:22:33 -07:00
errors libgo: update to go1.15rc1 2020-08-01 11:21:40 -07:00
expvar libgo: update to go1.15rc1 2020-08-01 11:21:40 -07:00
flag libgo: update to go1.15rc1 2020-08-01 11:21:40 -07:00
fmt libgo: update to go1.15rc1 2020-08-01 11:21:40 -07:00
go compiler, libgo: change mangling scheme 2020-11-20 12:44:35 -08:00
golang.org/x libgo: add 32-bit RISC-V (RV32) support 2020-09-30 19:47:48 -07:00
hash libgo: update to go1.15rc1 2020-08-01 11:21:40 -07:00
html libgo: update to go1.15rc1 2020-08-01 11:21:40 -07:00
image libgo: update to go1.15rc1 2020-08-01 11:21:40 -07:00
index/suffixarray libgo: compile examples in _test packages 2020-01-09 23:14:57 +00:00
internal libgo: update to 1.15.6 release 2020-12-08 14:01:04 -08:00
io libgo: update to go1.15rc1 2020-08-01 11:21:40 -07:00
log log/syslog: correct asm name for C function 2020-11-23 08:14:20 -08:00
math libgo: update to Go 1.15.5 release 2020-11-20 17:09:30 -08:00
mime libgo: update to go1.15rc1 2020-08-01 11:21:40 -07:00
net libgo: update to Go 1.15.4 release 2020-11-10 07:25:32 -08:00
os libgo: handle linking to NetBSD's versioned symbols 2020-10-28 18:20:50 -07:00
path libgo: update to go1.15rc1 2020-08-01 11:21:40 -07:00
plugin libgo: update to Go1.14beta1 2020-01-21 23:53:22 -08:00
reflect libgo: update to Go 1.15.4 release 2020-11-10 07:25:32 -08:00
regexp libgo: update to go1.15rc1 2020-08-01 11:21:40 -07:00
runtime runtime: eliminate scase.kind field 2020-12-22 14:42:22 -08:00
sort libgo: update to Go 1.13beta1 release 2019-09-06 18:12:46 +00:00
strconv libgo: update to go1.15rc1 2020-08-01 11:21:40 -07:00
strings libgo: update to go1.15rc1 2020-08-01 11:21:40 -07:00
sync compiler, libgo: change mangling scheme 2020-11-20 12:44:35 -08:00
syscall syscall: don't use AF_LINK on hurd 2020-12-07 17:08:48 -08:00
testdata libgo: update to Go1.12beta2 2019-01-18 19:04:36 +00:00
testing libgo: update to Go 1.15.3 release 2020-10-27 13:58:02 -07:00
text libgo: update to go1.15rc1 2020-08-01 11:21:40 -07:00
time libgo: update to Go 1.15.4 release 2020-11-10 07:25:32 -08:00
unicode libgo: update to go1.15rc1 2020-08-01 11:21:40 -07:00