diff --git a/compiler/transf.nim b/compiler/transf.nim index 1dfafbc2d899..1253eadda29e 100644 --- a/compiler/transf.nim +++ b/compiler/transf.nim @@ -53,7 +53,6 @@ type isIntroducingNewLocalVars: bool # true if we are in `introducingNewLocalVars` (don't transform yields) contSyms, breakSyms: seq[PSym] # to transform 'continue' and 'break' deferDetected, tooEarly: bool - inAddr: bool graph: ModuleGraph idgen: IdGenerator @@ -101,12 +100,12 @@ proc newTemp(c: PTransf, typ: PType, info: TLineInfo): PNode = else: result = newSymNode(r) -proc transform(c: PTransf, n: PNode): PNode +proc transform(c: PTransf, n: PNode, noConstFold = false): PNode -proc transformSons(c: PTransf, n: PNode): PNode = +proc transformSons(c: PTransf, n: PNode, noConstFold = false): PNode = result = newTransNode(n) for i in 0..