Skip to content

Commit e69443b

Browse files
committed
address review
1 parent 9324df0 commit e69443b

File tree

3 files changed

+3
-12
lines changed

3 files changed

+3
-12
lines changed

Modules/_testinternalcapi/test_cases.c.h

Lines changed: 1 addition & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Python/bytecodes.c

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6362,10 +6362,7 @@ dummy_func(
63626362
if (_PyOpcode_Caches[_PyOpcode_Deopt[opcode]]
63636363
// Branch opcodes use the cache for branch history, not
63646364
// specialization counters. Don't reset it.
6365-
&& opcode != POP_JUMP_IF_FALSE
6366-
&& opcode != POP_JUMP_IF_TRUE
6367-
&& opcode != POP_JUMP_IF_NONE
6368-
&& opcode != POP_JUMP_IF_NOT_NONE) {
6365+
&& !IS_CONDITIONAL_JUMP_OPCODE(opcode)) {
63696366
(&next_instr[1])->counter = trigger_backoff_counter();
63706367
}
63716368

Python/generated_cases.c.h

Lines changed: 1 addition & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)