diff options
author | Araq <rumpf_a@web.de> | 2015-07-26 22:03:52 +0200 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2015-07-26 22:03:52 +0200 |
commit | 54fdeb4f76e0fc1e07332e2d4f0b00ff014d4f5f (patch) | |
tree | a25027d43aa1e791d4526c7b9e244d214cdf42e0 | |
parent | beca7ded1b352493bf5aa1bd4d3067bdb736547b (diff) | |
download | Nim-54fdeb4f76e0fc1e07332e2d4f0b00ff014d4f5f.tar.gz |
gc:none works again
-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 bfc80b2a1..2e95918cc 100644 --- a/compiler/cgen.nim +++ b/compiler/cgen.nim @@ -950,7 +950,7 @@ proc genMainProc(m: BModule) = gBreakpoints.add(m.genFilenames) let initStackBottomCall = - if platform.targetOS == osStandalone: "".rope + if platform.targetOS == osStandalone or gSelectedGC == gcNone: "".rope else: ropecg(m, "\t#initStackBottomWith((void *)&inner);$N") inc(m.labels) appcg(m, m.s[cfsProcs], PreMainBody, [ |