summaryrefslogtreecommitdiffstats
path: root/Python/optimizer_bytecodes.c
diff options
context:
space:
mode:
authorBrandt Bucher <brandtbucher@microsoft.com>2024-07-26 16:40:15 (GMT)
committerGitHub <noreply@github.com>2024-07-26 16:40:15 (GMT)
commit64857d849f3079a73367525ce93fd7a463b83908 (patch)
tree97a3081807cf1697141db03a1fdd6976e2ffc407 /Python/optimizer_bytecodes.c
parentdb2d8b6db1b56c2bd3802b86f9b76da33e8898d7 (diff)
downloadcpython-64857d849f3079a73367525ce93fd7a463b83908.zip
cpython-64857d849f3079a73367525ce93fd7a463b83908.tar.gz
cpython-64857d849f3079a73367525ce93fd7a463b83908.tar.bz2
GH-122294: Burn in the addresses of side exits (GH-122295)
Diffstat (limited to 'Python/optimizer_bytecodes.c')
-rw-r--r--Python/optimizer_bytecodes.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/Python/optimizer_bytecodes.c b/Python/optimizer_bytecodes.c
index a506f99..4d4f893 100644
--- a/Python/optimizer_bytecodes.c
+++ b/Python/optimizer_bytecodes.c
@@ -788,7 +788,8 @@ dummy_func(void) {
ctx->done = true;
}
- op(_EXIT_TRACE, (--)) {
+ op(_EXIT_TRACE, (exit_p/4 --)) {
+ (void)exit_p;
ctx->done = true;
}