Files
Nim/compiler
Ico Doornekamp b68eb1cad0 Removed lib/system/allocators.nim. seqs_v2 and strs_v2 now uses allocShared0. (#13190)
* Cleanup, remove lib/system/allocators.nim. seqs_v2 and strs_v2 now use
allocShared0 by default.

* Fixed -d:useMalloc allocShared / reallocShared / deallocShared. These now use the alloc/dealloc/realloc implementation that also takes care of zeroing memory at realloc.

* Removed debug printfs

* Removed unpairedEnvAllocs() from tests/destructor/tnewruntime_misc

* More mmdisp cleanups. The shared allocators do not need to zero memory or throw since the regular ones already do that

* Introduced realloc0 and reallocShared0, these procs are now used by
strs_v2 and seqs_v2. This also allowed the -d:useMalloc allocator to
drop the extra header with allocation length.

* Moved strs_v2/seqs_v2 'allocated' flag into 'cap' field

* Added 'getAllocStats()' to get low level alloc/dealloc counters. Enable with -d:allocStats

* *allocShared implementations for boehm and go allocators now depend on the proper *allocImpl procs
2020-01-23 14:25:22 +01:00
..
2019-09-27 07:02:54 +02:00
2019-11-28 17:13:04 +01:00
2020-01-19 14:16:50 +01:00
2020-01-23 13:45:31 +01:00
2017-01-07 22:35:09 +01:00
2019-11-28 17:13:04 +01:00
2020-01-16 20:15:50 +01:00
2020-01-17 16:49:37 +01:00
2019-12-06 09:56:54 +01:00
2020-01-18 01:21:13 +01:00
2019-11-28 17:13:04 +01:00
2019-11-28 17:13:04 +01:00
2019-11-28 17:13:04 +01:00
2019-11-28 17:13:04 +01:00
2019-12-05 15:17:45 +01:00
2020-01-14 16:20:48 +01:00
2019-11-28 17:13:04 +01:00
2019-11-28 17:13:04 +01:00
2020-01-19 23:30:45 +01:00
2019-11-28 17:13:04 +01:00
2019-11-28 17:13:04 +01:00
2019-09-27 07:02:54 +02:00
2019-11-28 17:13:04 +01:00
2019-09-27 07:02:54 +02:00
2019-12-01 23:21:36 +01:00
2019-11-28 17:13:04 +01:00
2019-12-04 07:33:01 +00:00
2019-11-28 17:13:04 +01:00
2019-11-28 17:13:04 +01:00
2019-12-12 11:05:18 +01:00
2019-11-28 17:13:04 +01:00
2019-11-28 17:13:04 +01:00
2020-01-17 09:17:18 +01:00
2020-01-19 23:30:45 +01:00
2019-12-13 19:20:29 +01:00
2019-11-28 17:13:04 +01:00
2019-11-28 17:13:04 +01:00
2019-11-28 17:13:04 +01:00
2019-11-28 17:13:04 +01:00
2019-11-28 17:13:04 +01:00
2019-11-28 17:13:04 +01:00

This directory contains the Nim compiler written in Nim. Note that this
code has been translated from a bootstrapping version written in Pascal, so
the code is **not** a poster child of good Nim code.

See https://nim-lang.org/docs/intern.html for more information.