Skip to content

Commit

Permalink
n
Browse files Browse the repository at this point in the history
Change-Id: Id9d9bc5377f32296d7970a2fe77e2cab51d0108c
  • Loading branch information
qiulaidongfeng committed Apr 2, 2024
1 parent f081141 commit e66128e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion src/runtime/cgocall.go
Original file line number Diff line number Diff line change
Expand Up @@ -642,7 +642,6 @@ func cgoCheckArg(t *_type, p unsafe.Pointer, indir, top bool, msg string) {
cgoCheckArg(f.Typ, add(p, f.Offset), true, top, msg)
}
case abi.Pointer, abi.UnsafePointer:

if indir {
p = *(*unsafe.Pointer)(p)
if p == nil {
Expand Down
2 changes: 1 addition & 1 deletion src/runtime/mgc.go
Original file line number Diff line number Diff line change
Expand Up @@ -378,7 +378,7 @@ type workType struct {
// markDoneSema protects transitions from mark to mark termination.
markDoneSema uint32

bgMarkDone uint32 // cas to 1 when at a background mark completion point
bgMarkDone uint32 // cas to 1 when at a background mark completion point
// Background mark completion signaling

// mode is the concurrency mode of the current GC cycle.
Expand Down

0 comments on commit e66128e

Please sign in to comment.