8000 gh-131798: JIT: Split `CALL_TYPE_1` into several uops by tomasr8 · Pull Request #132419 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

gh-131798: JIT: Split CALL_TYPE_1 into several uops #132419

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 16 commits into from
Apr 22, 2025
Prev Previous commit
Next Next commit
PEP7
Co-authored-by: Brandt Bucher <brandtbucher@gmail.com>
  • Loading branch information
tomasr8 and brandtbucher authored Apr 12, 2025
commit 8a0152f58e0e37df86d6f33cab46f7eb392adcbe
5 changes: 3 additions & 2 deletions Python/optimizer_bytecodes.c
Original file line number Diff line number Diff line change
Expand Up @@ -848,8 +848,9 @@ dummy_func(void) {

op(_CALL_TYPE_1, (callable, null, arg -- res)) {
if (sym_has_type(arg)) {
res = sym_new_const(ctx, (PyObject*)sym_get_type(arg));
} else {
res = sym_new_const(ctx, (PyObject *)sym_get_type(arg));
}
else {
res = sym_new_not_null(ctx);
}
}
Expand Down
Loading
0