gcc/libgo/go
Ian Lance Taylor 022aa0ce5e compiler, runtime: simplify select and channel operations
In preparation for upgrading libgo to the 1.9 release, this
    approximately incorporates https://golang.org/cl/37661 and
    https://golang.org/cl/38351.
    
    CL 37661 changed the gc compiler such that the select statement simply
    returns an integer which is then used as the argument for a switch.
    Since gccgo already worked that way, this just adjusts the switch code
    to look like the gc switch code by removing the explicit case index
    expression and calculating it from the order of calls to selectsend,
    selectrecv, and selectdefault.
    
    CL 38351 simplifies the channel code by not passing the unused channel
    type descriptor pointer.
    
    Reviewed-on: https://go-review.googlesource.com/62730

From-SVN: r252749
2017-09-14 03:57:18 +00:00
..
archive libgo: update to Go 1.8 release candidate 1 2017-01-14 00:05:42 +00:00
bufio libgo: update to Go 1.8 release candidate 1 2017-01-14 00:05:42 +00:00
builtin libgo: update to Go 1.8 release candidate 1 2017-01-14 00:05:42 +00:00
bytes Big merge of changes to gofrontend repo that were postponed due to the 2017-05-10 17:26:09 +00:00
cmd cmd/go: pass -funwind-tables when compiling C code 2017-08-18 04:40:42 +00:00
compress libgo: update to go1.8rc2 2017-01-23 22:18:42 +00:00
container libgo: update to Go 1.8 release candidate 1 2017-01-14 00:05:42 +00:00
context libgo: update to Go 1.8 release candidate 1 2017-01-14 00:05:42 +00:00
crypto libgo: update to 1.8.3 release 2017-06-08 19:02:12 +00:00
database/sql libgo: update to 1.8.3 release 2017-06-08 19:02:12 +00:00
debug debug/elf: handle Alpha relocs 2017-06-21 22:39:36 +00:00
encoding libgo: update to Go 1.8.1 release 2017-04-17 22:10:58 +00:00
errors libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
exp Correct gcc/go/gofrontend/lex.cc and libgo/aclocal.m4 to the versions in the gofrontend repo... 2016-11-18 04:15:46 +00:00
expvar libgo: update to Go 1.8 release candidate 1 2017-01-14 00:05:42 +00:00
flag libgo: update to Go 1.8 release candidate 1 2017-01-14 00:05:42 +00:00
fmt libgo: update to Go 1.8 release candidate 1 2017-01-14 00:05:42 +00:00
go libgo: remove old MIPS architecture names 2017-06-21 22:11:04 +00:00
golang_org/x syscall, golang_org/x/net/lif: fixes for gccgo on Solaris 2017-01-18 03:37:52 +00:00
hash libgo: update to Go 1.8 release candidate 1 2017-01-14 00:05:42 +00:00
html libgo: update to Go 1.8 release candidate 1 2017-01-14 00:05:42 +00:00
image libgo: update to Go 1.8.1 release 2017-04-17 22:10:58 +00:00
index/suffixarray libgo: update to Go 1.8 release candidate 1 2017-01-14 00:05:42 +00:00
internal Forgot to remove this file in the last libgo commit. 2017-06-21 22:29:36 +00:00
io libgo: update to Go 1.8 release candidate 1 2017-01-14 00:05:42 +00:00
log libgo: update to Go 1.8 release candidate 1 2017-01-14 00:05:42 +00:00
math compiler: handle >32bit exponent in Ldexp 2017-08-09 17:15:02 +00:00
mime Big merge of changes to gofrontend repo that were postponed due to the 2017-05-10 17:26:09 +00:00
net net/internal/socktest: build sys_unix.go on AIX 2017-08-29 21:56:31 +00:00
os os: align siginfo argument to waitid 2017-06-23 17:10:18 +00:00
path Big merge of changes to gofrontend repo that were postponed due to the 2017-05-10 17:26:09 +00:00
plugin libgo: update to Go 1.8 release candidate 1 2017-01-14 00:05:42 +00:00
reflect compiler, runtime: simplify select and channel operations 2017-09-14 03:57:18 +00:00
regexp libgo: update to Go 1.8 release candidate 1 2017-01-14 00:05:42 +00:00
runtime compiler, runtime: simplify select and channel operations 2017-09-14 03:57:18 +00:00
sort libgo: update to Go 1.8 release candidate 1 2017-01-14 00:05:42 +00:00
strconv libgo: update to Go 1.8 release candidate 1 2017-01-14 00:05:42 +00:00
strings libgo: update to Go 1.8 release candidate 1 2017-01-14 00:05:42 +00:00
sync libgo: update to Go 1.8 release candidate 1 2017-01-14 00:05:42 +00:00
syscall syscall: call f?statfs64 on GNU/Linux 2017-07-21 20:25:13 +00:00
testing libgo: update to final Go 1.8 release 2017-02-17 15:43:39 +00:00
text libgo: update to Go 1.8.1 release 2017-04-17 22:10:58 +00:00
time Big merge of changes to gofrontend repo that were postponed due to the 2017-05-10 17:26:09 +00:00
unicode libgo: update to Go 1.8 release candidate 1 2017-01-14 00:05:42 +00:00