mirror of
https://github.com/ProgramSnail/Lama.git
synced 2025-12-11 01:09:02 +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) {
|
extern void gc_root_scan_data (void) {
|
||||||
size_t * p = &__start_custom_data;
|
size_t * p = &__start_custom_data;
|
||||||
// while (p != &__stop_custom_data) {
|
while (p < &__stop_custom_data) {
|
||||||
while (p < &__stop_custom_data) { // fix bug
|
|
||||||
gc_test_and_copy_root (p);
|
gc_test_and_copy_root (p);
|
||||||
p++;
|
p++;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue