]> Cypherpunks.ru repositories - gostls13.git/commit
runtime: fix invalid nil g check for for mips64x
authorMeng Zhuo <mzh@golangcn.org>
Fri, 19 Feb 2021 06:31:57 +0000 (14:31 +0800)
committerMeng Zhuo <mzh@golangcn.org>
Fri, 19 Feb 2021 08:48:55 +0000 (08:48 +0000)
commit7764ee5614df2228e03326487af7670c7c5d268a
treea08c69611afd380849692ad542eb38e36feb3bf0
parent87f425da1433a172c1fa02134a8dab9a3784e24f
runtime: fix invalid nil g check for for mips64x

In CL 292109 we removed unnecessary writes to gp.sched.g
but put wrong register to save g (R4 saves pointer to g) on mips64x

Change-Id: I9777846a7b0a46e1af83dcfc73b74649e0dba3c9
Reviewed-on: https://go-review.googlesource.com/c/go/+/293989
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Joel Sing <joel@sing.id.au>
Trust: Meng Zhuo <mzh@golangcn.org>
Run-TryBot: Meng Zhuo <mzh@golangcn.org>
src/runtime/asm_mips64x.s