diff options
author | Brandt Bucher <brandtbucher@microsoft.com> | 2025-04-21 16:58:55 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-04-21 16:58:55 (GMT) |
commit | 4f7f72ce34f7825e50346ed0c878fc36ef9421ca (patch) | |
tree | c507a9012c7a04d434a4a3607ba094f8979cf7ae /Python/optimizer_bytecodes.c | |
parent | 9be364568835e467199ccd65bbcd786f9c8171dc (diff) | |
download | cpython-4f7f72ce34f7825e50346ed0c878fc36ef9421ca.zip cpython-4f7f72ce34f7825e50346ed0c878fc36ef9421ca.tar.gz cpython-4f7f72ce34f7825e50346ed0c878fc36ef9421ca.tar.bz2 |
GH-130415: Improve the JIT's unneeded uop removal pass (GH-132333)
Diffstat (limited to 'Python/optimizer_bytecodes.c')
-rw-r--r-- | Python/optimizer_bytecodes.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Python/optimizer_bytecodes.c b/Python/optimizer_bytecodes.c index c5d8b53..6f7f9b0 100644 --- a/Python/optimizer_bytecodes.c +++ b/Python/optimizer_bytecodes.c @@ -912,6 +912,7 @@ dummy_func(void) { } op(_REPLACE_WITH_TRUE, (value -- res)) { + REPLACE_OP(this_instr, _POP_TOP_LOAD_CONST_INLINE_BORROW, 0, (uintptr_t)Py_True); res = sym_new_const(ctx, Py_True); } |