mirror of
https://github.com/python/cpython.git
synced 2025-08-30 05:35:08 +00:00
GH-115819: Eliminate Boolean guards when value is known (GH-116355)
This commit is contained in:
parent
c91bdf86ef
commit
0c81ce1360
6 changed files with 102 additions and 2 deletions
|
@ -90,6 +90,7 @@ extern _Py_UopsSymbol *_Py_uop_sym_new_type(
|
|||
_Py_UOpsContext *ctx, PyTypeObject *typ);
|
||||
extern _Py_UopsSymbol *_Py_uop_sym_new_const(_Py_UOpsContext *ctx, PyObject *const_val);
|
||||
extern _Py_UopsSymbol *_Py_uop_sym_new_null(_Py_UOpsContext *ctx);
|
||||
extern bool _Py_uop_sym_has_type(_Py_UopsSymbol *sym);
|
||||
extern bool _Py_uop_sym_matches_type(_Py_UopsSymbol *sym, PyTypeObject *typ);
|
||||
extern bool _Py_uop_sym_set_null(_Py_UopsSymbol *sym);
|
||||
extern bool _Py_uop_sym_set_non_null(_Py_UopsSymbol *sym);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue