Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Removed lib/system/allocators.nim. seqs_v2 and strs_v2 now uses ↵ | Ico Doornekamp | 2020-01-23 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | | | | | | | | | | | 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 | ||||
* | better support for PROGMEM like annotations for lets/vars; fixes #12216 (#12799) | Andreas Rumpf | 2019-12-05 | 1 | -14/+17 |
| | |||||
* | Cosmetic compiler cleanup (#12718) | Clyybber | 2019-11-28 | 1 | -9/+9 |
| | | | | | | | | | | | | | | | | | | * Cleanup compiler code base * Unify add calls * Unify len invocations * Unify range operators * Fix oversight * Remove {.procvar.} pragma * initCandidate -> newCandidate where reasonable * Unify safeLen calls | ||||
* | int128 on firstOrd, lastOrd and lengthOrd (#11701) | Arne Döring | 2019-08-07 | 1 | -1/+3 |
| | | | | * fixes #11847 | ||||
* | fixes #11048 | Araq | 2019-04-17 | 1 | -4/+0 |
| | |||||
* | Less ropes (#10979) | Arne Döring | 2019-04-11 | 1 | -1/+1 |
| | | | | | * convert ropecg to a macro * fewer intermediate ropes | ||||
* | gc:destructors: make strutils compile (but still crashes) | Andreas Rumpf | 2019-02-22 | 1 | -7/+12 |
| | |||||
* | gc:destructors further progress | Andreas Rumpf | 2018-11-29 | 1 | -1/+1 |
| | |||||
* | --gc:destructors: hello world example compiles and runs | Araq | 2018-11-16 | 1 | -1/+1 |
| | |||||
* | --gc:destructors: next steps; WIP | Andreas Rumpf | 2018-07-21 | 1 | -3/+15 |
| | |||||
* | WIP: strings/seqs based on destructors | Andreas Rumpf | 2018-07-17 | 1 | -2/+6 |
| | |||||
* | C code generator compiles again | Andreas Rumpf | 2018-05-12 | 1 | -3/+3 |
| | |||||
* | sem pass compiles again | Andreas Rumpf | 2018-05-12 | 1 | -1/+1 |
| | |||||
* | implemented v2 string literals | Araq | 2018-04-03 | 1 | -2/+12 |
| | |||||
* | C codegen: preparations for different seq and string implementations | Andreas Rumpf | 2018-04-03 | 1 | -0/+81 |