Skip to content

Commit 7945c19

Browse files
Add back replace_op
1 parent 024690c commit 7945c19

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Python/optimizer_bytecodes.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1027,6 +1027,7 @@ dummy_func(void) {
10271027
}
10281028

10291029
op(_REPLACE_WITH_TRUE, (value -- res)) {
1030+
REPLACE_OP(this_instr, _POP_TOP_LOAD_CONST_INLINE_BORROW, 0, (uintptr_t)Py_True);
10301031
res = sym_new_const(ctx, Py_True);
10311032
}
10321033

0 commit comments

Comments
 (0)