10000 ZJIT: Write a callee frame on JIT-to-JIT calls by k0kubun · Pull Request #13579 · ruby/ruby · GitHub
[go: up one dir, main page]

Skip to content

ZJIT: Write a callee frame on JIT-to-JIT calls #13579

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Jun 13, 2025
Merged
Changes from 1 commit
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
Prev Previous commit
Next Next commit
Add a TODO comment for gen_send_without_block
Co-authored-by: Max Bernstein <tekknolagi@gmail.com>
  • Loading branch information
k0kubun and tekknolagi authored Jun 12, 2025
commit 829a7314f1033fc03c2e52990a8370295e1309ab
1 change: 1 addition & 0 deletions zjit/src/codegen.rs
< 773F th scope="col">Original file line number
Diff line number Diff line change
Expand Up @@ -465,6 +465,7 @@ fn gen_send_without_block(
args: &Vec<InsnId>,
) -> Option<lir::Opnd> {
// Spill locals onto the stack.
// TODO: Don't spill locals eagerly; lazily reify frames
asm_comment!(asm, "spill locals");
for (idx, &insn_id) in state.locals().enumerate() {
asm.mov(Opnd::mem(64, SP, (-local_idx_to_ep_offset(jit.iseq, idx) - 1) * SIZEOF_VALUE_I32), jit.get_opnd(insn_id)?);
Expand Down
Loading
0