mirror of
https://github.com/ProgramSnail/Lama.git
synced 2025-12-06 14:58:50 +00:00
fix bug: register global_sysargs as extra root for GC; also fixes regression/x86only/test009
This commit is contained in:
parent
c8bc0bc8b1
commit
848fd31dc4
1 changed files with 1 additions and 0 deletions
|
|
@ -1263,6 +1263,7 @@ extern void set_args (int argc, char *argv[]) {
|
|||
__post_gc ();
|
||||
|
||||
global_sysargs = p;
|
||||
push_extra_root (&global_sysargs);
|
||||
}
|
||||
|
||||
/* GC starts here */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue