[dev.link] all: merge branch 'master' into dev.link

Clean merge.

Change-Id: I2ae070c60c011779a0f0a1344f5b6d45ef10d8a1
This commit is contained in:
Cherry Zhang 2020-03-13 14:45:05 -04:00
commit 440852c464
118 changed files with 5302 additions and 12481 deletions

View file

@ -1070,7 +1070,7 @@ func loadsys() {
typecheckok = true
typs := runtimeTypes()
for _, d := range runtimeDecls {
for _, d := range &runtimeDecls {
sym := Runtimepkg.Lookup(d.name)
typ := typs[d.typ]
switch d.tag {
@ -1373,7 +1373,7 @@ var concurrentFlagOK = [256]bool{
}
func concurrentBackendAllowed() bool {
for i, x := range Debug {
for i, x := range &Debug {
if x != 0 && !concurrentFlagOK[i] {
return false
}