if (count == mono_opt_jiterpreter_jit_call_trampoline_hit_count) {
mono_interp_jit_wasm_jit_call_trampoline (
rmethod->method, rmethod, cinfo,
- rmethod->arg_offsets, mono_aot_mode == MONO_AOT_MODE_LLVMONLY_INTERP
+ initialize_arg_offsets(rmethod, mono_method_signature_internal (rmethod->method)),
+ mono_aot_mode == MONO_AOT_MODE_LLVMONLY_INTERP
);
} else {
int excess = count - mono_opt_jiterpreter_jit_call_queue_flush_threshold;
method: MonoMethod, rmethod: VoidPtr, cinfo: VoidPtr,
arg_offsets: VoidPtr, catch_exceptions: boolean
) {
+ mono_assert(arg_offsets, "Expected nonzero arg_offsets pointer");
+
this.method = method;
this.rmethod = rmethod;
this.catchExceptions = catch_exceptions;