Skip to content

Commit

Permalink
runtime/internal/atomic: remove incorrect pointer indirection in comment
Browse files Browse the repository at this point in the history
Change-Id: I9d743b7f6b001158299bea4af4aede678654bc8e
GitHub-Last-Rev: 7e07834
GitHub-Pull-Request: #46851
Reviewed-on: https://go-review.googlesource.com/c/go/+/329730
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Ben Shi <powerman1st@163.com>
  • Loading branch information
yigenshutiao authored and ianlancetaylor committed Jun 22, 2021
1 parent 63daa77 commit 666315b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/runtime/internal/atomic/atomic_386.s
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ TEXT ·Xaddint64(SB), NOSPLIT, $0-20

// bool ·Cas64(uint64 *val, uint64 old, uint64 new)
// Atomically:
// if(*val == *old){
// if(*val == old){
// *val = new;
// return 1;
// } else {
Expand Down

0 comments on commit 666315b

Please sign in to comment.