Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion yjit/src/codegen.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6123,7 +6123,7 @@ fn jit_rb_str_to_s(
}

fn jit_rb_str_dup(
_jit: &mut JITState,
jit: &mut JITState,
asm: &mut Assembler,
_ci: *const rb_callinfo,
_cme: *const rb_callable_method_entry_t,
Expand All @@ -6137,6 +6137,8 @@ fn jit_rb_str_dup(
}
asm_comment!(asm, "String#dup");

jit_prepare_call_with_gc(jit, asm);

// Check !FL_ANY_RAW(str, FL_EXIVAR), which is part of BARE_STRING_P.
let recv_opnd = asm.stack_pop(1);
let recv_opnd = asm.load(recv_opnd);
Expand Down
Loading