Idris2/support
Alex1005a 196d08dd6d
Implement Precise Reference Counting for C backend (#2989)
* start implement drop spec

* [RefC] remove vars after prim function call

* [RefC] gc pointer processing changed

* [RefC] fix memory leak in stringIteratorToString

* [RefC] runtime.c refactoring

* Implement basic reuse analisis

* [RefC] do not delete reusable variables in value in let

* [RefC] Use names instead tags in reuse map

* [RefC] Don't set all fields to null in reuse constructor

* Use record syntax in RefC

* Add some utility functions to RefC

* Sort output in garbageCollect refc test

* Add memory leak test for RefC

* [RefC] Remove variable only from body in let

Co-authored-by: G. Allais <guillaume.allais@ens-lyon.org>

* [RefC] Remove borrowed set from env

* [RefC] Use Ref variable for Enviroment instead of passing as an argument

* [RefC] Use locally function as combinator

* [RefC] removing unnecessary dup and remove during pattern matching

* Update refcTests and refcMemoryLeakTests

* Remove some test files

* move CHANGELOG entry to CHANGELOG_NEXT

* Move refc-memory tests

* Change calling convention test

* [RefC] [Test] Reuse test

---------

Co-authored-by: G. Allais <guillaume.allais@ens-lyon.org>
Co-authored-by: Mathew Polzin <matt.polzin@gmail.com>
2024-02-12 00:43:17 -06:00
..
c [ fix ] Correctly manage the empty file case while reading a file 2023-12-21 13:30:30 -06:00
chez [ base ] Add bindings for ieee Double number consts (#3116) 2023-11-09 14:01:40 +00:00
docs Cleanup after rebase 2022-11-15 16:38:13 +01:00
gambit [ gambit ] fix pack / unpack segfault with gambit scheme 2023-11-29 15:32:17 +00:00
js Fix file mode processing in support_system_file_popen 2024-01-04 20:00:50 +03:00
racket [ base ] Add bindings for ieee Double number consts (#3116) 2023-11-09 14:01:40 +00:00
refc Implement Precise Reference Counting for C backend (#2989) 2024-02-12 00:43:17 -06:00
Makefile implement DESTDIR support for distros 2023-08-22 16:44:13 +01:00