mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
GH-112354: Initial implementation of warm up on exits and trace-stitching (GH-114142)
This commit is contained in:
parent
acda1757bc
commit
7b21403ccd
29 changed files with 744 additions and 198 deletions
|
@ -154,6 +154,7 @@ def replace_check_eval_breaker(
|
|||
|
||||
|
||||
REPLACEMENT_FUNCTIONS = {
|
||||
"EXIT_IF": replace_deopt,
|
||||
"DEOPT_IF": replace_deopt,
|
||||
"ERROR_IF": replace_error,
|
||||
"DECREF_INPUTS": replace_decrefs,
|
||||
|
@ -205,6 +206,8 @@ def cflags(p: Properties) -> str:
|
|||
flags.append("HAS_EVAL_BREAK_FLAG")
|
||||
if p.deopts:
|
||||
flags.append("HAS_DEOPT_FLAG")
|
||||
if p.side_exit:
|
||||
flags.append("HAS_EXIT_FLAG")
|
||||
if not p.infallible:
|
||||
flags.append("HAS_ERROR_FLAG")
|
||||
if p.escapes:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue