• Matthew Dempsky's avatar
    cmd/compile: open code select{send,recv,default} · 004260af
    Matthew Dempsky authored
    Registration now looks like:
    
            var cases [4]runtime.scases
            var order [8]uint16
    	cases[0].kind = caseSend
    	cases[0].c = c1
    	cases[0].elem = &v1
    	if raceenabled || msanenabled {
    		selectsetpc(&cases[0])
    	}
    	cases[1].kind = caseRecv
    	cases[1].c = c2
    	cases[1].elem = &v2
    	if raceenabled || msanenabled {
    		selectsetpc(&cases[1])
    	}
    	...
    
    Change-Id: Ib9bcf426a4797fe4bfd8152ca9e6e08e39a70b48
    Reviewed-on: https://go-review.googlesource.com/37934
    Run-TryBot: Matthew Dempsky <mdempsky@google.com>
    TryBot-Result: Gobot Gobot <gobot@golang.org>
    Reviewed-by: 's avatarAustin Clements <austin@google.com>
    004260af
Name
Last commit
Last update
..
amd64 Loading commit data...
arm Loading commit data...
arm64 Loading commit data...
gc Loading commit data...
mips Loading commit data...
mips64 Loading commit data...
ppc64 Loading commit data...
s390x Loading commit data...
ssa Loading commit data...
syntax Loading commit data...
test Loading commit data...
types Loading commit data...
x86 Loading commit data...