summaryrefslogtreecommitdiffstats
path: root/Python/ceval_macros.h
diff options
context:
space:
mode:
authorBrandt Bucher <brandtbucher@microsoft.com>2024-07-01 20:17:40 (GMT)
committerGitHub <noreply@github.com>2024-07-01 20:17:40 (GMT)
commit33903c53dbdb768e1ef7c46d347869577f2173ce (patch)
tree9e1e8473028f803ece96c8ccbde3f6bfef08ade3 /Python/ceval_macros.h
parent294e72496439da984cb8dba9100d3613c8cc8a6d (diff)
downloadcpython-33903c53dbdb768e1ef7c46d347869577f2173ce.zip
cpython-33903c53dbdb768e1ef7c46d347869577f2173ce.tar.gz
cpython-33903c53dbdb768e1ef7c46d347869577f2173ce.tar.bz2
GH-116017: Get rid of _COLD_EXITs (GH-120960)
Diffstat (limited to 'Python/ceval_macros.h')
-rw-r--r--Python/ceval_macros.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/Python/ceval_macros.h b/Python/ceval_macros.h
index f6d055a..595b72b 100644
--- a/Python/ceval_macros.h
+++ b/Python/ceval_macros.h
@@ -426,7 +426,7 @@ do { \
do { \
OPT_STAT_INC(traces_executed); \
next_uop = (EXECUTOR)->trace; \
- assert(next_uop->opcode == _START_EXECUTOR || next_uop->opcode == _COLD_EXIT); \
+ assert(next_uop->opcode == _START_EXECUTOR); \
goto enter_tier_two; \
} while (0)
#endif
@@ -446,7 +446,6 @@ do { \
#define JUMP_TO_JUMP_TARGET() goto jump_to_jump_target
#define JUMP_TO_ERROR() goto jump_to_error_target
#define GOTO_UNWIND() goto error_tier_two
-#define EXIT_TO_TRACE() goto exit_to_trace
#define EXIT_TO_TIER1() goto exit_to_tier1
#define EXIT_TO_TIER1_DYNAMIC() goto exit_to_tier1_dynamic;