Skip to content

ZJIT: Parse opt_aref_with into HIR (+1) #13468

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 3 commits into from
Jun 4, 2025
Merged

Conversation

XrXr
Copy link
Member

@XrXr XrXr commented May 29, 2025

  • ZJIT: Parse opt_aref_with into HIR
  • ZJIT: Spill to the stack using arguments instead of FrameState

@matzbot matzbot requested a review from a team May 29, 2025 17:06
Copy link
Contributor

@tekknolagi tekknolagi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

heck yeah, thank you

The FrameState on the SendWithoutBlock represents the entry state,
but for instructions that push to the stack in the middle of the
instruction before actually doing the send like opt_aref_with,
the FrameState is incorrect. We need to write to the stack using the
arguments for the instruction.
@XrXr XrXr force-pushed the zjit-more-send branch from 21a2428 to f8fa5c1 Compare May 29, 2025 17:22
@XrXr XrXr enabled auto-merge (rebase) May 29, 2025 17:23
@XrXr XrXr force-pushed the zjit-more-send branch from 7b6d151 to f8fa5c1 Compare May 29, 2025 19:44

This comment has been minimized.

@XrXr XrXr merged commit 8d14d6e into ruby:master Jun 4, 2025
81 of 82 checks passed
@XrXr XrXr deleted the zjit-more-send branch June 4, 2025 10:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants