diff options
author | Russ Cox <rsc@golang.org> | 2014-10-07 23:27:25 -0400 |
---|---|---|
committer | Russ Cox <rsc@golang.org> | 2014-10-07 23:27:25 -0400 |
commit | 5d002841f887436edc2b238694f04caaa696cae4 (patch) | |
tree | 7287ca1062a176b9e70101e749aa4c40cf5166d4 /src/runtime/asm_arm.s | |
parent | 9673ab4a490e582ee5a8dc4c91eaadbac48b215c (diff) | |
download | go-5d002841f887436edc2b238694f04caaa696cae4.tar.gz |
runtime: change Windows M.thread from void* to uintptr
It appears to be an opaque bit pattern more than a pointer.
The Go garbage collector has discovered that for m0
it is set to 0x4c.
Should fix Windows build.
TBR=brainman
CC=golang-codereviews
https://codereview.appspot.com/149640043
Diffstat (limited to 'src/runtime/asm_arm.s')
-rw-r--r-- | src/runtime/asm_arm.s | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/runtime/asm_arm.s b/src/runtime/asm_arm.s index 36fb022f9..a1535aeec 100644 --- a/src/runtime/asm_arm.s +++ b/src/runtime/asm_arm.s @@ -724,6 +724,9 @@ TEXT runtime·atomicloaduintptr(SB),NOSPLIT,$0-8 TEXT runtime·atomicloaduint(SB),NOSPLIT,$0-8 B runtime·atomicload(SB) +TEXT runtime·atomicstoreuintptr(SB),NOSPLIT,$0-8 + B runtime·atomicstore(SB) + // AES hashing not implemented for ARM TEXT runtime·aeshash(SB),NOSPLIT,$-4-0 MOVW $0, R0 |