mirror of
https://github.com/python/cpython.git
synced 2025-07-07 11:25:30 +00:00
gh-132732: Fix up pure types in JIT (GH-136050)
Fix up pure types in JIT
This commit is contained in:
parent
35ecaf90b2
commit
ff7b5d44a0
1 changed files with 1 additions and 1 deletions
|
@ -212,7 +212,7 @@ _Py_uop_sym_is_safe_const(JitOptContext *ctx, JitOptRef sym)
|
|||
PyTypeObject *typ = Py_TYPE(const_val);
|
||||
return (typ == &PyUnicode_Type) ||
|
||||
(typ == &PyFloat_Type) ||
|
||||
(typ == &PyTuple_Type) ||
|
||||
(typ == &_PyNone_Type) ||
|
||||
(typ == &PyBool_Type);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue