mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
Revert "Pass down "stack start" variables from closer to the top of the stack"
This reverts commit 4ba8f0dc99
.
This commit is contained in:
parent
6af0f442c7
commit
396e94666b
9 changed files with 22 additions and 33 deletions
4
eval.c
4
eval.c
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue