mirror of
https://github.com/python/cpython
synced 2026-09-29 10:35:30 +03:00
GH-108716: Turn off deep-freezing of code objects. (GH-108722)
This commit is contained in:
parent
00cf626cd4
commit
15d4c9fabc
15 changed files with 50 additions and 86 deletions
|
|
@ -17,7 +17,6 @@ struct _frozen {
|
|||
const unsigned char *code;
|
||||
int size;
|
||||
int is_package;
|
||||
PyObject *(*get_code)(void);
|
||||
};
|
||||
|
||||
/* Embedding apps may change this pointer to point to their favorite
|
||||
|
|
|
|||
|
|
@ -465,8 +465,6 @@ adaptive_counter_backoff(uint16_t counter) {
|
|||
return adaptive_counter_bits(value, backoff);
|
||||
}
|
||||
|
||||
extern uint32_t _Py_next_func_version;
|
||||
|
||||
|
||||
/* Comparison bit masks. */
|
||||
|
||||
|
|
|
|||
|
|
@ -186,6 +186,7 @@ struct _is {
|
|||
_PyOptimizerObject *optimizer;
|
||||
uint16_t optimizer_resume_threshold;
|
||||
uint16_t optimizer_backedge_threshold;
|
||||
uint32_t next_func_version;
|
||||
|
||||
_Py_GlobalMonitors monitors;
|
||||
bool f_opcode_trace_set;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue