File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1819,8 +1819,10 @@ ruby_opt_init(ruby_cmdline_options_t *opt)
1819
1819
1820
1820
if (rb_namespace_available ())
1821
1821
rb_initialize_main_namespace ();
1822
+ rb_namespace_init_done ();
1823
+ ruby_init_prelude ();
1822
1824
1823
- // Initialize JITs after prelude because JITing prelude is typically not optimal.
1825
+ // Initialize JITs after ruby_init_prelude() because JITing prelude is typically not optimal.
1824
1826
#if USE_YJIT
1825
1827
rb_yjit_init (opt -> yjit );
1826
1828
#endif
@@ -1831,8 +1833,6 @@ ruby_opt_init(ruby_cmdline_options_t *opt)
1831
1833
}
1832
1834
#endif
1833
1835
1834
- rb_namespace_init_done ();
1835
- ruby_init_prelude ();
1836
1836
ruby_set_script_name (opt -> script_name );
1837
1837
require_libraries (& opt -> req_list );
1838
1838
}
You can’t perform that action at this time.
0 commit comments