Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
/rubyPublic

ZJIT: Load stack relative slot before frame teardown#13953

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
XrXr wants to merge1 commit intoruby:master
base:master
Choose a base branch
Loading
fromShopify:zjit-load-before-frame-teardown

Conversation

XrXr
Copy link
Member

Or else the test returns garbage since it loads after
moving SP. Prior bad disassembly:

# Block: bb0(v0, v1, v2, v3, v4, v5, v6, v7, v8)stp x29, x30, [sp, #-0x10]!mov x29, sp# bump C stack pointersub sp, sp, #0x10# Insn: v10 Return v8# pop stack frameadds x19, x19, #0x38stur x19, [x20, #0x10]# restore C stack pointeradd sp, sp, #0x10mov sp, x29ldp x29, x30, [sp], #0x10ldur x0, [sp]ret

Or else the test returns garbage since it loads aftermoving SP. Prior bad disassembly:    # Block: bb0(v0, v1, v2, v3, v4, v5, v6, v7, v8)    stp x29, x30, [sp, #-0x10]!    mov x29, sp    # bump C stack pointer    sub sp, sp, #0x10    # Insn: v10 Return v8    # pop stack frame    adds x19, x19, #0x38    stur x19, [x20, #0x10]    # restore C stack pointer    add sp, sp, #0x10    mov sp, x29    ldp x29, x30, [sp], #0x10    ldur x0, [sp]    ret
@matzbotmatzbot requested a review froma teamJuly 18, 2025 18:36
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@st0012st0012st0012 approved these changes

Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

2 participants
@XrXr@st0012

[8]ページ先頭

©2009-2025 Movatter.jp