refactorings (#20536)

* refactoring

* refactoring: removed unused macroUsagesSection

* enum instead of bool for better readability
This commit is contained in:
Andreas Rumpf 2022-10-10 21:40:07 +02:00 • committed by GitHub
commit 08ae3467b9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 16 additions and 16 deletions

View file

@ -1168,7 +1168,7 @@ proc rawExecute(c: PCtx, start: int, tos: PStackFrame): TFullReg =
let ast = a.sym.ast.shallowCopy
for i in 0..<a.sym.ast.len:
ast[i] = a.sym.ast[i]
ast[bodyPos] = transformBody(c.graph, c.idgen, a.sym, cache=true)
ast[bodyPos] = transformBody(c.graph, c.idgen, a.sym, useCache)
ast.copyTree()
of opcSymOwner:
decodeB(rkNode)