mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-04-30 03:40:34 +02:00
boot the VM very early in init.c
* libguile/init.c (scm_i_init_guile): Now that the VM doesn't depend on smobs, we can boot it before anything.
This commit is contained in:
parent
6f3b0cc29e
commit
2be89ca129
1 changed files with 5 additions and 5 deletions
|
@ -448,6 +448,11 @@ scm_i_init_guile (SCM_STACKITEM *base)
|
|||
scm_modules_prehistory ();
|
||||
scm_init_array_handle ();
|
||||
scm_bootstrap_bytevectors (); /* Requires array-handle */
|
||||
scm_bootstrap_instructions ();
|
||||
scm_bootstrap_objcodes ();
|
||||
scm_bootstrap_programs ();
|
||||
scm_bootstrap_vm ();
|
||||
|
||||
scm_init_strings (); /* Requires array-handle */
|
||||
scm_init_struct (); /* Requires strings */
|
||||
scm_smob_prehistory ();
|
||||
|
@ -522,11 +527,6 @@ scm_i_init_guile (SCM_STACKITEM *base)
|
|||
scm_init_arrays (); /* Requires smob_prehistory, array-handle */
|
||||
scm_init_array_map ();
|
||||
|
||||
scm_bootstrap_instructions ();
|
||||
scm_bootstrap_objcodes ();
|
||||
scm_bootstrap_programs ();
|
||||
scm_bootstrap_vm ();
|
||||
|
||||
scm_init_frames (); /* Requires smob_prehistory */
|
||||
scm_init_stacks (); /* Requires strings, struct, frames */
|
||||
scm_init_symbols ();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue