mirror of
https://github.com/ProgramSnail/Lama.git
synced 2025-12-08 07:48:47 +00:00
fix closure and sexp copiyng; fix sacn_custom_data; redo heap managing
This commit is contained in:
parent
b4f3c22704
commit
bfd67eea8f
1 changed files with 1 additions and 2 deletions
|
|
@ -1267,8 +1267,7 @@ extern void gc_test_and_copy_root (size_t ** root) {
|
|||
|
||||
extern void gc_root_scan_data (void) {
|
||||
size_t * p = &__start_custom_data;
|
||||
// while (p != &__stop_custom_data) {
|
||||
while (p < &__stop_custom_data) { // fix bug
|
||||
while (p < &__stop_custom_data) {
|
||||
gc_test_and_copy_root (p);
|
||||
p++;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue