diff options
author | KJ Tsanaktsidis <kj@kjtsanaktsidis.id.au> | 2024-01-12 17:32:16 +1100 |
---|---|---|
committer | KJ Tsanaktsidis <kj@kjtsanaktsidis.id.au> | 2024-01-12 17:58:54 +1100 |
commit | 396e94666ba1646cb0fd1459eeae3f2e7ddd2658 (patch) | |
tree | 246d743ec71c97ed9fa98e82da12135b1da354a4 /eval.c | |
parent | 6af0f442c7d16ab526c0e6859aa97ff217b73f99 (diff) | |
download | ruby-396e94666ba1646cb0fd1459eeae3f2e7ddd2658.tar.gz |
Revert "Pass down "stack start" variables from closer to the top of the stack"
This reverts commit 4ba8f0dc993953d3ddda6328e3ef17a2fc2cbde5.
Diffstat (limited to 'eval.c')
-rw-r--r-- | eval.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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(); |