mirror of
https://github.com/python/cpython.git
synced 2026-01-29 18:52:38 +00:00
gh-130415: Narrowing to constants in branches involving is comparisons with a constant (GH-143895)
This commit is contained in:
parent
6181b69970
commit
0b08438ea6
7 changed files with 241 additions and 20 deletions
|
|
@ -247,6 +247,8 @@ add_op(JitOptContext *ctx, _PyUOpInstruction *this_instr,
|
|||
#define sym_is_compact_int _Py_uop_sym_is_compact_int
|
||||
#define sym_new_compact_int _Py_uop_sym_new_compact_int
|
||||
#define sym_new_truthiness _Py_uop_sym_new_truthiness
|
||||
#define sym_new_predicate _Py_uop_sym_new_predicate
|
||||
#define sym_apply_predicate_narrowing _Py_uop_sym_apply_predicate_narrowing
|
||||
|
||||
#define JUMP_TO_LABEL(label) goto label;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue