mirror of
https://github.com/python/cpython.git
synced 2026-04-20 10:51:00 +00:00
gh-146261: JIT: protect against function version changes (#146300)
Co-authored-by: Kumar Aditya <kumaraditya@python.org>
This commit is contained in:
parent
1e79bf6c05
commit
6f7bb297db
8 changed files with 64 additions and 189 deletions
|
|
@ -283,8 +283,6 @@ add_op(JitOptContext *ctx, _PyUOpInstruction *this_instr,
|
|||
#define sym_get_probable_func_code _Py_uop_sym_get_probable_func_code
|
||||
#define sym_get_probable_value _Py_uop_sym_get_probable_value
|
||||
#define sym_set_stack_depth(DEPTH, SP) _Py_uop_sym_set_stack_depth(ctx, DEPTH, SP)
|
||||
#define sym_get_func_version _Py_uop_sym_get_func_version
|
||||
#define sym_set_func_version _Py_uop_sym_set_func_version
|
||||
|
||||
/* Comparison oparg masks */
|
||||
#define COMPARE_LT_MASK 2
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue