mirror of
https://github.com/python/cpython.git
synced 2025-08-31 22:18:28 +00:00
GH-120024: Remove CHECK_EVAL_BREAKER
macro. (GH-122968)
* Factor some instructions into micro-ops to isolate CHECK_EVAL_BREAKER for escape analysis * Eliminate CHECK_EVAL_BREAKER macro
This commit is contained in:
parent
315a933a5b
commit
eec7bdaf01
16 changed files with 821 additions and 518 deletions
22
Python/optimizer_cases.c.h
generated
22
Python/optimizer_cases.c.h
generated
|
@ -7,11 +7,21 @@
|
|||
break;
|
||||
}
|
||||
|
||||
case _CHECK_PERIODIC: {
|
||||
break;
|
||||
}
|
||||
|
||||
case _CHECK_PERIODIC_IF_NOT_YIELD_FROM: {
|
||||
break;
|
||||
}
|
||||
|
||||
/* _QUICKEN_RESUME is not a viable micro-op for tier 2 */
|
||||
|
||||
case _RESUME_CHECK: {
|
||||
break;
|
||||
}
|
||||
|
||||
/* _INSTRUMENTED_RESUME is not a viable micro-op for tier 2 */
|
||||
/* _MONITOR_RESUME is not a viable micro-op for tier 2 */
|
||||
|
||||
case _LOAD_FAST_CHECK: {
|
||||
_Py_UopsSymbol *value;
|
||||
|
@ -1644,10 +1654,6 @@
|
|||
|
||||
/* _DO_CALL is not a viable micro-op for tier 2 */
|
||||
|
||||
case _CHECK_PERIODIC: {
|
||||
break;
|
||||
}
|
||||
|
||||
/* _MONITOR_CALL is not a viable micro-op for tier 2 */
|
||||
|
||||
case _PY_FRAME_GENERAL: {
|
||||
|
@ -1966,11 +1972,11 @@
|
|||
|
||||
/* _INSTRUMENTED_CALL_KW is not a viable micro-op for tier 2 */
|
||||
|
||||
/* _CALL_KW is not a viable micro-op for tier 2 */
|
||||
/* _DO_CALL_KW is not a viable micro-op for tier 2 */
|
||||
|
||||
/* _INSTRUMENTED_CALL_FUNCTION_EX is not a viable micro-op for tier 2 */
|
||||
|
||||
/* _CALL_FUNCTION_EX is not a viable micro-op for tier 2 */
|
||||
/* __DO_CALL_FUNCTION_EX is not a viable micro-op for tier 2 */
|
||||
|
||||
case _MAKE_FUNCTION: {
|
||||
_Py_UopsSymbol *func;
|
||||
|
@ -2100,7 +2106,7 @@
|
|||
|
||||
/* _INSTRUMENTED_JUMP_FORWARD is not a viable micro-op for tier 2 */
|
||||
|
||||
/* _INSTRUMENTED_JUMP_BACKWARD is not a viable micro-op for tier 2 */
|
||||
/* _MONITOR_JUMP_BACKWARD is not a viable micro-op for tier 2 */
|
||||
|
||||
/* _INSTRUMENTED_POP_JUMP_IF_TRUE is not a viable micro-op for tier 2 */
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue