remove name field for ARC (#20797)
* remove name field for ARC * mistake * improvement * better * typo * fixes a pre-existing bug
This commit is contained in:
parent
0ead94c4eb
commit
f11b7debf7
3 changed files with 19 additions and 14 deletions
|
|
@ -1595,7 +1595,8 @@ when not defined(js) and defined(nimV2):
|
|||
align: int16
|
||||
depth: int16
|
||||
display: ptr UncheckedArray[uint32] # classToken
|
||||
name: cstring
|
||||
when defined(nimTypeNames):
|
||||
name: cstring
|
||||
traceImpl: pointer
|
||||
typeInfoV1: pointer # for backwards compat, usually nil
|
||||
flags: int
|
||||
|
|
|
|||
|
|
@ -138,7 +138,8 @@ proc breakCycles(s: Cell; desc: PNimTypeV2) =
|
|||
else:
|
||||
# anyhow as a link that the produced destructor does not have to follow:
|
||||
u[] = nil
|
||||
cprintf("[Bug] %p %s RC %ld\n", t, desc.name, t.rc shr rcShift)
|
||||
when traceCollector:
|
||||
cprintf("[Bug] %p %s RC %ld\n", t, desc.name, t.rc shr rcShift)
|
||||
deinit j.traceStack
|
||||
|
||||
proc thinout*[T](x: ref T) {.inline.} =
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue