Skip to content

Commit

Permalink
Merge branch 'extend'
Browse files Browse the repository at this point in the history
  • Loading branch information
NJdevPro committed Oct 31, 2024
2 parents 8761982 + 6c3d68b commit 84e9c84
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/gc.c
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,7 @@ static void gc(void *root) {
while (scan1 < scan2) { // 將 root 指向的物件從 scan1 (FROM) 搬到 scan2 (to) 去
switch (scan1->type) {
case TINT:
case TSTRING:
case TSYMBOL:
case TPRIMITIVE:
// Any of the above types does not contain a pointer to a GC-managed object.
Expand Down

0 comments on commit 84e9c84

Please sign in to comment.