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

gh-125911: Rename big trampoline to shim #126339

Merged
merged 2 commits into from
Nov 5, 2024

Conversation

savannahostrowski
Copy link
Member

@savannahostrowski savannahostrowski commented Nov 2, 2024

I think I did this correctly/caught everything 😅. Basically, I renamed the trampoline associated with the StencilGroup (aka big trampoline) to shim and then left the rest as trampolines as those refer the little trampolines needed to compile a trace.

Copy link
Member

@brandtbucher brandtbucher left a comment

Choose a reason for hiding this comment

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

This is so much better, thanks. Just one incorrect rename... a testament to how confusing I made this, and how much this change is needed. ;)

@diegorusso: just a heads-up that we're renaming the "big" calling convention trampoline to shim and leaving all of your new "little" range-extending trampolines as trampoline.

Python/jit.c Outdated Show resolved Hide resolved
Tools/jit/_writer.py Outdated Show resolved Hide resolved
@brandtbucher brandtbucher self-assigned this Nov 3, 2024
@brandtbucher brandtbucher added interpreter-core (Objects, Python, Grammar, and Parser dirs) topic-JIT labels Nov 3, 2024
@diegorusso
Copy link
Contributor

Yes, I agree with the change. In fact I always called the "other trampoline" :) Thanks Savannah for the change, it LGTM. 🎉

@brandtbucher brandtbucher merged commit c3a12ae into python:main Nov 5, 2024
67 of 69 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
interpreter-core (Objects, Python, Grammar, and Parser dirs) skip news topic-JIT
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants