mirror of
https://github.com/golang/go
synced 2024-10-06 08:00:07 +00:00
n
Change-Id: Id9d9bc5377f32296d7970a2fe77e2cab51d0108c
This commit is contained in:
parent
f081141856
commit
e66128e63b
|
@ -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 {
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue