Commit graph

16 commits

Author SHA1 Message Date
Brian Carroll
4d14fbf562 wasm: use a debug-friendly enum for refcount tests 2022-03-08 07:43:01 +00:00
ayazhafiz
25db1189af Monomorphize expressions in refcount test 2022-01-20 10:23:13 -05:00
ayazhafiz
649695f6e3 Fix wasm refcount tests 2022-01-19 23:21:29 -05:00
Brian Carroll
92ec680a25 Fix clippy error on non-wasm test builds 2022-01-11 21:54:03 +00:00
Brian Carroll
5560ecb63e Implement tail recursion for union refcounting procs 2022-01-06 22:43:02 +00:00
Brian Carroll
8ebdc8ea7f Tests for linked list tail recursion in helper procs 2022-01-06 10:49:34 +00:00
Brian Carroll
bfec255501 More refcount tests 2022-01-06 10:49:34 +00:00
Brian Carroll
d9cc3c5692 Modify refcount of contents *before* structure to prevent use-after-free 2022-01-06 10:49:34 +00:00
Brian Carroll
456bda0895 Prevent confusion between separate instances of RecursivePointer 2022-01-06 10:49:34 +00:00
Brian Carroll
5e642c880c Mask out union tag ID from pointer when calculating refcount address 2022-01-06 10:49:34 +00:00
Brian Carroll
94dea1df9f Add a refcount test for recursive unions 2022-01-05 12:24:04 +00:00
Brian Carroll
5d7b4018b7 Generate refcounting helper procedures for tag unions 2022-01-05 12:24:04 +00:00
Brian Carroll
310de090a3 Wasm: Refcounting for struct fields 2022-01-01 11:32:53 +00:00
Brian Carroll
c5663e3538 Generate IR helper proc for list refcounting 2021-12-30 17:15:31 +00:00
Brian Carroll
eeb4b20390 Improve string refcounting tests 2021-12-30 09:09:07 +00:00
Brian Carroll
4d2e4d454b Create code gen tests for refcounting 2021-12-29 16:48:43 +00:00