diff options
author | Andreas Rumpf <rumpf_a@web.de> | 2019-11-14 23:19:18 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-11-14 23:19:18 +0100 |
commit | a14abc57088ec775284e1bab5815e0229ab582a3 (patch) | |
tree | 0454551a60cfb492ea9e417b44c585c85bf82ad5 /compiler/vmgen.nim | |
parent | f22d3c75aa68833ae1b01d747d0c71074ccef310 (diff) | |
download | Nim-a14abc57088ec775284e1bab5815e0229ab582a3.tar.gz |
ARC: solves phase ordering problems (#12654)
Diffstat (limited to 'compiler/vmgen.nim')
-rw-r--r-- | compiler/vmgen.nim | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/compiler/vmgen.nim b/compiler/vmgen.nim index 0dc55862c..88ac57962 100644 --- a/compiler/vmgen.nim +++ b/compiler/vmgen.nim @@ -2243,8 +2243,7 @@ proc genProc(c: PCtx; s: PSym): int = s.ast.sons[miscPos] = x # thanks to the jmp we can add top level statements easily and also nest # procs easily: - let body = transformBody(c.graph, s, cache = not isCompileTimeProc(s), - noDestructors = true) + let body = transformBody(c.graph, s, cache = not isCompileTimeProc(s)) let procStart = c.xjmp(body, opcJmp, 0) var p = PProc(blocks: @[], sym: s) let oldPrc = c.prc |