summary refs log tree commit diff stats
path: root/compiler
diff options
context:
space:
mode:
authorClyybber <darkmine956@gmail.com>2020-07-08 16:20:16 +0200
committerGitHub <noreply@github.com>2020-07-08 16:20:16 +0200
commit27579cfd3a473c1b449c6c62997107005f8d4c90 (patch)
tree52e8adfebcc43288118d113c72eb741bceeb02e6 /compiler
parent3de5296337a0711b4d907728ac24fa07791d3224 (diff)
downloadNim-27579cfd3a473c1b449c6c62997107005f8d4c90.tar.gz
Make arc compile laser again
Diffstat (limited to 'compiler')
-rw-r--r--compiler/injectdestructors.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/injectdestructors.nim b/compiler/injectdestructors.nim
index b5e1db169..0a14a1daf 100644
--- a/compiler/injectdestructors.nim
+++ b/compiler/injectdestructors.nim
@@ -1006,7 +1006,7 @@ proc p(n: PNode; c: var Con; s: var Scope; mode: ProcessMode): PNode =
       result[0] = p(n[0], c, s, mode)
       for i in 1..<n.len:
         result[i] = n[i]
-    of nkGotoState, nkState:
+    of nkGotoState, nkState, nkAsmStmt:
       result = n
     else:
       internalError(c.graph.config, n.info, "cannot inject destructors to node kind: " & $n.kind)