diff options
author | Andreas Rumpf <rumpf_a@web.de> | 2016-09-12 15:31:55 +0200 |
---|---|---|
committer | Andreas Rumpf <rumpf_a@web.de> | 2016-09-12 23:04:19 +0200 |
commit | 259daf98cf8bdb89e537014b56f6ad38b99956e5 (patch) | |
tree | 7751db1501aefed616e016d8a4148cf5259140b7 /compiler/cgen.nim | |
parent | 646a5694215ecdc1ba902ed40c7ee27fbc7a7b3e (diff) | |
download | Nim-259daf98cf8bdb89e537014b56f6ad38b99956e5.tar.gz |
fixes thread vars of non-global visibility
Diffstat (limited to 'compiler/cgen.nim')
-rw-r--r-- | compiler/cgen.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/cgen.nim b/compiler/cgen.nim index 48b6e9633..620ee4887 100644 --- a/compiler/cgen.nim +++ b/compiler/cgen.nim @@ -788,7 +788,7 @@ proc genProc(m: BModule, prc: PSym) = genProcAux(generatedHeader, prc) proc genVarPrototypeAux(m: BModule, sym: PSym) = - assert(sfGlobal in sym.flags) + #assert(sfGlobal in sym.flags) useHeader(m, sym) fillLoc(sym.loc, locGlobalVar, sym.typ, mangleName(sym), OnHeap) if (lfNoDecl in sym.loc.flags) or containsOrIncl(m.declaredThings, sym.id): |