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
..
2020-01-21 23:53:22 -08:00
2020-08-01 11:21:40 -07:00
2020-10-27 13:58:02 -07:00
2020-12-08 14:01:04 -08:00
2020-08-01 11:21:40 -07:00
2020-08-01 11:21:40 -07:00
2020-08-07 17:22:33 -07:00
2020-08-01 11:21:40 -07:00
2020-08-01 11:21:40 -07:00
2020-08-01 11:21:40 -07:00
2020-08-01 11:21:40 -07:00
2020-08-01 11:21:40 -07:00
2020-08-01 11:21:40 -07:00
2020-08-01 11:21:40 -07:00
2020-08-01 11:21:40 -07:00
2020-12-08 14:01:04 -08:00
2020-08-01 11:21:40 -07:00
2020-11-20 17:09:30 -08:00
2020-08-01 11:21:40 -07:00
2020-11-10 07:25:32 -08:00
2020-08-01 11:21:40 -07:00
2020-01-21 23:53:22 -08:00
2020-08-01 11:21:40 -07:00
2020-08-01 11:21:40 -07:00
2020-08-01 11:21:40 -07:00
2019-01-18 19:04:36 +00:00
2020-08-01 11:21:40 -07:00
2020-11-10 07:25:32 -08:00
2020-08-01 11:21:40 -07:00