Skip to content

Commit c520693

Browse files
abner-chencgopherbot
authored andcommitted
runtime: clean atomic_loong64.s of unnecessary package references
The symbols are all defined within the same file, no need to reference through package names. Change-Id: I81c27831e85666ebd26d346aeb8f023e52d98acc Reviewed-on: https://go-review.googlesource.com/c/go/+/479497 Reviewed-by: Keith Randall <[email protected]> Reviewed-by: Keith Randall <[email protected]> Reviewed-by: Ian Lance Taylor <[email protected]> TryBot-Result: Gopher Robot <[email protected]> Auto-Submit: Ian Lance Taylor <[email protected]> Run-TryBot: Keith Randall <[email protected]> Run-TryBot: Ian Lance Taylor <[email protected]> Reviewed-by: WANG Xuerui <[email protected]>
1 parent 91a40f4 commit c520693

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/runtime/internal/atomic/atomic_loong64.s

+4-4
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ TEXT ·Xaddint64(SB), NOSPLIT, $0-24
8989
// } else
9090
// return 0;
9191
TEXT ·Casp1(SB), NOSPLIT, $0-25
92-
JMP runtime∕internal∕atomic·Cas64(SB)
92+
JMP ·Cas64(SB)
9393

9494
// uint32 xadd(uint32 volatile *ptr, int32 delta)
9595
// Atomically:
@@ -294,13 +294,13 @@ TEXT ·Loadp(SB),NOSPLIT|NOFRAME,$0-16
294294

295295
// uint32 runtime∕internal∕atomic·LoadAcq(uint32 volatile* ptr)
296296
TEXT ·LoadAcq(SB),NOSPLIT|NOFRAME,$0-12
297-
JMP atomic·Load(SB)
297+
JMP ·Load(SB)
298298

299299
// uint64 ·LoadAcq64(uint64 volatile* ptr)
300300
TEXT ·LoadAcq64(SB),NOSPLIT|NOFRAME,$0-16
301-
JMP atomic·Load64(SB)
301+
JMP ·Load64(SB)
302302

303303
// uintptr ·LoadAcquintptr(uintptr volatile* ptr)
304304
TEXT ·LoadAcquintptr(SB),NOSPLIT|NOFRAME,$0-16
305-
JMP atomic·Load64(SB)
305+
JMP ·Load64(SB)
306306

0 commit comments

Comments
 (0)