Skip to content

gh-148211: decompose [_POP_CALL_X/_SHUFFLE_2]_LOAD_CONST_INLINE_BORROW in JIT#148313

Open
NekoAsakura wants to merge 1 commit intopython:mainfrom
NekoAsakura:gh-148211/decompose-pop-call
Open

gh-148211: decompose [_POP_CALL_X/_SHUFFLE_2]_LOAD_CONST_INLINE_BORROW in JIT#148313
NekoAsakura wants to merge 1 commit intopython:mainfrom
NekoAsakura:gh-148211/decompose-pop-call

Conversation

@NekoAsakura
Copy link
Copy Markdown
Contributor

@NekoAsakura NekoAsakura commented Apr 9, 2026

Copy link
Copy Markdown
Member

@Fidget-Spinner Fidget-Spinner left a comment

Choose a reason for hiding this comment

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

Lines changed: 1040 additions & 1411 deletions

Now that's what I like to see!

}
sym_set_const(res, out);
ADD_OP(_POP_CALL_TWO_LOAD_CONST_INLINE_BORROW, 0, (uintptr_t)out);
ADD_OP(_POP_CALL_TWO, 0, 0);
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

We should get rid of this into POP_TOP, POP_TOP, POP_TOP_NOP, POP_TOP in the next PR.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I'd like to decompose _POP_TWO_LOAD_CONST_INLINE_BORROW and _INSERT_2_LOAD_CONST_INLINE_BORROW and get shot of _POP_TOP_LOAD_CONST_INLINE(_BORROW) we left in #148230 in the next PR. I'll sort _POP_CALL* into individual pops after that.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Sounds good, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants