not generate initStackBottomWith in arc/orc [backport] (#19875)
not generate initStackBottomWith in arc/orc
This commit is contained in:
parent
1972005439
commit
eefca1b81f
1 changed files with 1 additions and 1 deletions
|
|
@ -2094,7 +2094,7 @@ proc finalCodegenActions*(graph: ModuleGraph; m: BModule; n: PNode) =
|
||||||
discard cgsym(m, "rawWrite")
|
discard cgsym(m, "rawWrite")
|
||||||
|
|
||||||
# raise dependencies on behalf of genMainProc
|
# raise dependencies on behalf of genMainProc
|
||||||
if m.config.target.targetOS != osStandalone and m.config.selectedGC != gcNone:
|
if m.config.target.targetOS != osStandalone and m.config.selectedGC notin {gcNone, gcArc, gcOrc}:
|
||||||
discard cgsym(m, "initStackBottomWith")
|
discard cgsym(m, "initStackBottomWith")
|
||||||
if emulatedThreadVars(m.config) and m.config.target.targetOS != osStandalone:
|
if emulatedThreadVars(m.config) and m.config.target.targetOS != osStandalone:
|
||||||
discard cgsym(m, "initThreadVarsEmulation")
|
discard cgsym(m, "initThreadVarsEmulation")
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue