Skip to content

Commit 78be7d2

Browse files
wip
1 parent 7f0c4f6 commit 78be7d2

File tree

16 files changed

+1697
-1203
lines changed

16 files changed

+1697
-1203
lines changed

Include/internal/pycore_dict.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,10 @@ extern int _PyDict_Next(
4343

4444
extern int _PyDict_HasOnlyStringKeys(PyObject *mp);
4545

46+
PyAPI_FUNC(PyObject *) _PyDict_Subscript(PyObject *self, PyObject *key);
47+
PyAPI_FUNC(PyObject *) _PyDict_SubscriptKnownHash(PyObject *self, PyObject *key, Py_hash_t hash);
48+
PyAPI_FUNC(int) _PyDict_StoreSubscript(PyObject *self, PyObject *key, PyObject *value);
49+
4650
// Export for '_ctypes' shared extension
4751
PyAPI_FUNC(Py_ssize_t) _PyDict_SizeOf(PyDictObject *);
4852

Include/internal/pycore_opcode_metadata.h

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Include/internal/pycore_optimizer.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -402,6 +402,7 @@ extern bool _Py_uop_sym_matches_type_version(JitOptRef sym, unsigned int version
402402
extern void _Py_uop_sym_set_null(JitOptContext *ctx, JitOptRef sym);
403403
extern void _Py_uop_sym_set_non_null(JitOptContext *ctx, JitOptRef sym);
404404
extern void _Py_uop_sym_set_type(JitOptContext *ctx, JitOptRef sym, PyTypeObject *typ);
405+
extern unsigned int _Py_uop_sym_get_type_version(JitOptRef ref);
405406
extern bool _Py_uop_sym_set_type_version(JitOptContext *ctx, JitOptRef sym, unsigned int version);
406407
extern void _Py_uop_sym_set_const(JitOptContext *ctx, JitOptRef sym, PyObject *const_val);
407408
extern bool _Py_uop_sym_is_bottom(JitOptRef sym);

0 commit comments

Comments
 (0)