1
0
mirror of https://github.com/golang/go synced 2024-10-01 03:38:32 -06:00

runtime: fix onM test for curg on arm

TBR=iant
CC=golang-codereviews
https://golang.org/cl/137130043
This commit is contained in:
Russ Cox 2014-09-04 01:05:32 -04:00
parent 996835887c
commit a915cb47ee

View File

@ -198,7 +198,7 @@ TEXT runtime·onM(SB), NOSPLIT, $0-4
CMP g, R2
B.EQ onm
MOVW m_g0(R1), R3
MOVW m_curg(R1), R3
CMP g, R3
B.EQ oncurg