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