IC: integrity checking (#17695)
* IC: integrity checking: the plumbing code * progress * progress + bugfix (yes, the code already found a bug) * implemented integrity checking
This commit is contained in:
parent
ceadf54d76
commit
4780b08b9d
8 changed files with 166 additions and 5 deletions
|
|
@ -341,6 +341,9 @@ proc addConverter*(c: PContext, conv: LazySym) =
|
|||
assert conv.sym != nil
|
||||
if inclSym(c.converters, conv.sym):
|
||||
add(c.graph.ifaces[c.module.position].converters, conv)
|
||||
|
||||
proc addConverterDef*(c: PContext, conv: LazySym) =
|
||||
addConverter(c, conv)
|
||||
if c.config.symbolFiles != disabledSf:
|
||||
addConverter(c.encoder, c.packedRepr, conv.sym)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue