Skip to content

Commit 0711868

Browse files
authored
feat(compiler): Streamlined reference counting (#1714)
* feat(compiler): Streamlined reference counting * snapshots * Use stable ordering for gc pass * no block * rename block_ans * refactor closure arguments * new snapshots
1 parent d3af004 commit 0711868

File tree

365 files changed

+30636
-40873
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

365 files changed

+30636
-40873
lines changed

compiler/src/codegen/compcore.re

Lines changed: 268 additions & 377 deletions
Large diffs are not rendered by default.

compiler/src/codegen/compcore.rei

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ open Binaryen;
66
type codegen_env = {
77
name: option(string),
88
num_args: int,
9+
num_closure_args: int,
910
stack_size,
1011
/* Allocated closures which need backpatching */
1112
backpatches: ref(list((Expression.t, closure_data))),

0 commit comments

Comments
 (0)