summary refs log tree commit diff stats
path: root/compiler
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2020-04-29 22:13:45 +0200
committerAraq <rumpf_a@web.de>2020-04-29 22:14:01 +0200
commitbd57f0cd3268843808c52614864a609703d9e611 (patch)
treefcb747ca800e17795ee6bd3a50461b43d1166011 /compiler
parentd9e907c0e2a58630f7b57c0afbe51c05fcf6b3ab (diff)
downloadNim-bd57f0cd3268843808c52614864a609703d9e611.tar.gz
fixes another silly arc/orc bug [backport:1.2]
Diffstat (limited to 'compiler')
-rw-r--r--compiler/ccgtypes.nim1
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/ccgtypes.nim b/compiler/ccgtypes.nim
index c4836c447..1e82a9725 100644
--- a/compiler/ccgtypes.nim
+++ b/compiler/ccgtypes.nim
@@ -1322,6 +1322,7 @@ proc genTypeInfoV2(m: BModule, t, origType: PType, name: Rope; info: TLineInfo)
   else:
     typeName = rope("NIM_NIL")
 
+  discard cgsym(m, "TNimType")
   m.s[cfsData].addf("N_LIB_PRIVATE TNimType $1;$n", [name])
   let destroyImpl = genHook(m, t, info, attachedDestructor)
   let traceImpl = genHook(m, t, info, attachedTrace)