C codegen: generate nimKeepAlive calls at strategic places to keep the C compiler from optimizing away all stack roots
This commit is contained in:
parent
ca5d2916dd
commit
703430787d
6 changed files with 256 additions and 174 deletions
|
|
@ -18,6 +18,8 @@ Bugfixes
|
|||
- Bugfix c2nim, c2pas: the ``--out`` option has never worked properly.
|
||||
- Bugfix: forwarding of generic procs never worked.
|
||||
- Some more bugfixes for macros and compile-time evaluation.
|
||||
- The compiler now generates code that tries to keep the C compiler from
|
||||
optimizing stack allocated GC roots away.
|
||||
|
||||
|
||||
Changes affecting backwards compatibility
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue