diff --git a/compiler/cgen.nim b/compiler/cgen.nim index 8bd72d49b2..5c533452d9 100644 --- a/compiler/cgen.nim +++ b/compiler/cgen.nim @@ -2420,6 +2420,20 @@ proc addHcrInitGuards(p: BProc, n: PNode, inInitGuard: var bool, init: var IfBui genStmts(p, n) +proc handleProcGlobals(m: BModule) = + var procGlobals: seq[PNode] = move m.g.graph.procGlobals + + for i in 0..