fixes size computations for 'dumpNumberOfInstances'
This commit is contained in:
parent
0b52466bb8
commit
00295366b5
1 changed files with 1 additions and 1 deletions
|
|
@ -67,7 +67,7 @@ template decTypeSize(cell, t) =
|
||||||
let size = addInt(mulInt(len, base), GenericSeqSize)
|
let size = addInt(mulInt(len, base), GenericSeqSize)
|
||||||
dec t.sizes, size+sizeof(Cell)
|
dec t.sizes, size+sizeof(Cell)
|
||||||
else:
|
else:
|
||||||
dec t.sizes, t.size+sizeof(Cell)
|
dec t.sizes, t.base.size+sizeof(Cell)
|
||||||
dec t.instances
|
dec t.instances
|
||||||
|
|
||||||
template incTypeSize(typ, size) =
|
template incTypeSize(typ, size) =
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue