gcc/libgo/go
Ian Lance Taylor 48357ce4f2 runtime: omit nil-channel cases from selectgo's orders
This is the gofrontend version of https://golang.org/cl/245123.
Original CL description:

    Currently, selectgo does an initial pass over the cases array to look
    for entries with nil channels, so they can be easily recognized and
    skipped later on. But this still involves actually visiting the cases.

    This commit changes selectgo to omit cases with nil channels when
    constructing pollorder, so that they'll be skipped over entirely later
    on. It also checks for caseDefault up front, which will facilitate
    changing it to use a "block bool" parameter instead.

    Updates golang/go#40410

This is being brought over to gofrontend as a step toward upgrading to
Go1.16beta1, setting up for more compiler changes related to select handling.

Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/279733
2020-12-22 11:56:41 -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: omit nil-channel cases from selectgo's orders 2020-12-22 11:56:41 -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