Skip to content

gh-131798: constant fold special method lookup in JIT#148432

Open
kumaraditya303 wants to merge 1 commit intopython:mainfrom
kumaraditya303:jit-load-special
Open

gh-131798: constant fold special method lookup in JIT#148432
kumaraditya303 wants to merge 1 commit intopython:mainfrom
kumaraditya303:jit-load-special

Conversation

@kumaraditya303
Copy link
Copy Markdown
Contributor

@kumaraditya303 kumaraditya303 commented Apr 12, 2026

Comment on lines -1685 to -1686
method_and_self[0] = sym_new_not_null(ctx);
method_and_self[1] = sym_new_unknown(ctx);
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.

You might want to leave these behind.
Some branches don't set method_and_self[1] and method_and_self[0], if you leave this. You can avoid all the complicated setting and else branches.

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