mirror of
https://github.com/nim-lang/Nim.git
synced 2026-07-19 23:41:29 +00:00
fixed #4459 -- VS2010 error C2275
This commit is contained in:
@@ -21,7 +21,7 @@ proc registerGcRoot(p: BProc, v: PSym) =
|
||||
# we register a specialized marked proc here; this has the advantage
|
||||
# that it works out of the box for thread local storage then :-)
|
||||
let prc = genTraverseProcForGlobal(p.module, v)
|
||||
appcg(p.module, p.module.initProc.procSec(cpsStmts),
|
||||
appcg(p.module, p.module.initProc.procSec(cpsInit),
|
||||
"#nimRegisterGlobalMarker($1);$n", [prc])
|
||||
|
||||
proc isAssignedImmediately(n: PNode): bool {.inline.} =
|
||||
|
||||
Reference in New Issue
Block a user