Skip to content
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

YJIT: Add a few asm comments #7105

Merged
merged 3 commits into from Jan 11, 2023
Merged

YJIT: Add a few asm comments #7105

merged 3 commits into from Jan 11, 2023

Conversation

k0kubun
Copy link
Member

@k0kubun k0kubun commented Jan 11, 2023

I carved out a few asm comments from #7097 that I found helpful when developing that branch.

  • Prefix instruction names with Insn: so that it will stand out more than random comments for that insn.
    • I'm intentionally not choosing Instruction: to make it look less significant / shorter than Block:.
  • Add defer_compilation and update cfp->jit_return, which weren't obvious from the current disasm.

@matzbot matzbot requested a review from a team January 11, 2023 18:05
@k0kubun
Copy link
Member Author

k0kubun commented Jan 11, 2023

I also wanted this 19b9f0e, which shows something like exit to interpreter on definemethod. Added to this PR as well.

@k0kubun k0kubun force-pushed the yjit-comments branch 2 times, most recently from 7ea47f8 to b8824e7 Compare January 11, 2023 18:36
@k0kubun k0kubun merged commit 3642006 into ruby:master Jan 11, 2023
@k0kubun k0kubun deleted the yjit-comments branch January 11, 2023 19:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants