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 /thread_none.c | |
| parent | 6af0f442c7d16ab526c0e6859aa97ff217b73f99 (diff) | |
Revert "Pass down "stack start" variables from closer to the top of the stack"
This reverts commit 4ba8f0dc993953d3ddda6328e3ef17a2fc2cbde5.
Diffstat (limited to 'thread_none.c')
| -rw-r--r-- | thread_none.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/thread_none.c b/thread_none.c index 767b929cf9..4d53d3bf4d 100644 --- a/thread_none.c +++ b/thread_none.c @@ -140,12 +140,12 @@ ruby_mn_threads_params(void) } void -ruby_init_stack(volatile void *addr) +ruby_init_stack(volatile VALUE *addr) { } static int -native_thread_init_stack(rb_thread_t *th, void *local_in_parent_frame) +native_thread_init_stack(rb_thread_t *th) { #if defined(__wasm__) && !defined(__EMSCRIPTEN__) th->ec->machine.stack_start = (VALUE *)rb_wasm_stack_get_base(); |
