1
0
mirror of https://github.com/golang/go synced 2024-07-08 12:18:55 +00:00
Change-Id: Id4be9521e8bcc75776bd02b6f107065eefd8df95
This commit is contained in:
qiulaidongfeng 2024-04-02 21:02:46 +08:00
parent e66128e63b
commit 43aa9376f7
2 changed files with 5 additions and 5 deletions

View File

@ -743,14 +743,14 @@ func dcommontype(c rttype.Cursor, t *types.Type) {
c.Field("Align_").WriteUint8(uint8(t.Alignment()))
c.Field("FieldAlign_").WriteUint8(uint8(t.Alignment()))
i = int(kinds[t.Kind()])
kind := kinds[t.Kind()]
if types.IsDirectIface(t) {
i |= abi.KindDirectIface
kind |= abi.KindDirectIface
}
if useGCProg {
i |= abi.KindGCProg
kind |= abi.KindGCProg
}
c.Field("Kind_").WriteUint8(uint8(i))
c.Field("Kind_").WriteUint8(uint8(kind))
c.Field("Equal").WritePtr(eqfunc)
c.Field("GCData").WritePtr(gcsym)

View File

@ -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.