mirror of
https://github.com/ruby/ruby.git
synced 2026-01-26 20:19:19 +00:00
ZJIT: Add gen_stack_overflow_check to CCallWithFrame
This commit is contained in:
parent
a9f24aaccb
commit
8b6564d149
Notes:
git
2025-10-24 21:05:00 +00:00
Merged: https://github.com/ruby/ruby/pull/14939 Merged-By: XrXr
@ -706,6 +706,7 @@ fn gen_ccall_with_frame(
|
||||
state: &FrameState,
|
||||
) -> lir::Opnd {
|
||||
gen_incr_counter(asm, Counter::non_variadic_cfunc_optimized_send_count);
|
||||
gen_stack_overflow_check(jit, asm, state, state.stack_size());
|
||||
|
||||
let caller_stack_size = state.stack_size() - args.len();
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user