Skip to content

Commit

Permalink
ES: Fix small bug
Browse files Browse the repository at this point in the history
  • Loading branch information
l4haie committed Feb 16, 2025
1 parent 90cff8a commit 4f848a9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/host/c/es.c
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
* need to force a drop)
* - Crash on overflow (keep the basic negative rank approach for now,
* optimizing this is not a priority)
* - Tag Ribbit's 3 roots for faster collectable check?
* - Tag Ribbit's 3 roots for faster collectable check?
* - Benchmarks for the new adoption scheme and dirtiness check
* - Ref count (make sure all non-cyclic ribs are collected, adapt io and sys
* primitives, apply, ... you know, make it work)
Expand Down Expand Up @@ -1518,7 +1518,7 @@ void push2(obj car, obj tag) {
if (IS_RIB(old_stack)) {
get_field(new_rib, 4) = get_parent(old_stack);
get_parent(old_stack) = stack;
set_rank(stack, alloc_rank+1);
set_rank(old_stack, alloc_rank+1);
}
alloc_rank--;

Expand Down

0 comments on commit 4f848a9

Please sign in to comment.