Index: src/pkg/runtime/asm_386.s |
=================================================================== |
--- a/src/pkg/runtime/asm_386.s |
+++ b/src/pkg/runtime/asm_386.s |
@@ -505,6 +505,9 @@ |
TEXT runtime·casuintptr(SB), NOSPLIT, $0-13 |
JMP runtime·cas(SB) |
+TEXT runtime·atomicloaduintptr(SB), NOSPLIT, $0-8 |
+ JMP runtime·atomicload(SB) |
+ |
// bool runtime·cas64(uint64 *val, uint64 old, uint64 new) |
// Atomically: |
// if(*val == *old){ |