IC: progress

This commit is contained in:
araq
2025-11-25 18:04:13 +01:00
parent 0486a2df51
commit 0cb4b3dd22
2 changed files with 3 additions and 3 deletions

View File

@@ -84,7 +84,7 @@ proc fillBackendName(m: BModule; s: PSym) =
if m.hcrOn:
result.add '_'
result.add(idOrSig(s, m.module.name.s.mangle, m.sigConflicts, m.config))
ensureMutable s
backendEnsureMutable s
s.locImpl.snippet = result
proc fillParamName(m: BModule; s: PSym) =

View File

@@ -1508,7 +1508,7 @@ proc genProcNoForward(m: BModule, prc: PSym) =
# mangle the inline proc based on the module where it is defined -
# not on the first module that uses it
if m.module.itemId.module != prc.itemId.module and optCompress in m.config.globalOptions:
let prcCopy = copyInlineProc(prc, m.idgen)
let prcCopy = prc # copyInlineProc(prc, m.idgen)
fillProcLoc(m, prcCopy.ast[namePos])
genProcPrototype(m, prcCopy)
genProcAux(m, prcCopy)
@@ -2523,7 +2523,7 @@ proc writeModule(m: BModule, pending: bool) =
while m.queue.len > 0:
let sym = m.queue.pop()
genProcAux(m, sym)
genProcNoForward(m, sym)
finishTypeDescriptions(m)
if sfMainModule in m.module.flags: