Revert "Pass down "stack start" variables from closer to the top of the stack"

This reverts commit 4ba8f0dc99.
This commit is contained in:
KJ Tsanaktsidis 2024-01-12 17:32:16 +11:00
parent 6af0f442c7
commit 396e94666b
9 changed files with 22 additions and 33 deletions

4
eval.c
View file

@ -70,7 +70,7 @@ ruby_setup(void)
if (GET_VM())
return 0;
ruby_init_stack(&state);
ruby_init_stack((void *)&state);
/*
* Disable THP early before mallocs happen because we want this to
@ -79,7 +79,7 @@ ruby_setup(void)
#if defined(__linux__) && defined(PR_SET_THP_DISABLE)
prctl(PR_SET_THP_DISABLE, 1, 0, 0, 0);
#endif
Init_BareVM(&state);
Init_BareVM();
Init_heap();
rb_vm_encoded_insn_data_table_init();
Init_vm_objects();