runtime: remove scase.releasetime field
authorIan Lance Taylor <iant@golang.org>
Mon, 21 Dec 2020 22:58:14 +0000 (14:58 -0800)
committerIan Lance Taylor <iant@golang.org>
Tue, 22 Dec 2020 19:54:03 +0000 (11:54 -0800)
commit1fa5fc7408d05710cb63a5e91c5df6c787b51019
treef2eabda05e2cfcaca5cd88e30d2a8f11ef25567a
parentffd454b92ba6ff5499cf57f82a2b0f4cee59978c
runtime: remove scase.releasetime field

This is the gofrontend version of https://golang.org/cl/245122.
Original CL description:

    selectgo will report at most one block event, so there's no need to
    keep a releasetime for every select case. It suffices to simply track
    the releasetime of the case responsible for the wakeup.

    Updates 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/+/279732
gcc/go/gofrontend/MERGE
gcc/go/gofrontend/types.cc
libgo/go/runtime/select.go