bugfix: emulated thread vars used in combination with the mark & sweep GC
resulted in invalid code generation
This commit is contained in:
parent
7fccdedcb5
commit
420789c278
3 changed files with 11 additions and 4 deletions
|
|
@ -284,6 +284,9 @@ proc genLineDir(p: BProc, t: PNode) =
|
|||
linefmt(p, cpsStmts, "nimln($1, $2);$n",
|
||||
line.toRope, t.info.quotedFilename)
|
||||
|
||||
proc accessThreadLocalVar(p: BProc, s: PSym)
|
||||
proc emulatedThreadVars(): bool {.inline.}
|
||||
|
||||
include "ccgtypes.nim"
|
||||
|
||||
# ------------------------------ Manager of temporaries ------------------
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue