fix bug: register global_sysargs as extra root for GC; also fixes regression/x86only/test009

This commit is contained in:
danyabeerzun 2020-01-29 17:34:26 +03:00
parent c8bc0bc8b1
commit 848fd31dc4

View file

@ -1263,6 +1263,7 @@ extern void set_args (int argc, char *argv[]) {
__post_gc (); __post_gc ();
global_sysargs = p; global_sysargs = p;
push_extra_root (&global_sysargs);
} }
/* GC starts here */ /* GC starts here */