Skip to content

Commit d02fbf3

Browse files
committed
Add stats
1 parent 06da973 commit d02fbf3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Python/optimizer.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -756,7 +756,7 @@ translate_bytecode_to_trace(
756756
opcode == SEND_GEN)
757757
{
758758
DPRINTF(2, "Bailing due to dynamic target\n");
759-
ADD_TO_TRACE(uop, oparg, 0, target);
759+
OPT_STAT_INC(low_confidence);
760760
return 0;
761761
}
762762
assert(_PyOpcode_Deopt[opcode] == CALL || _PyOpcode_Deopt[opcode] == CALL_KW);
@@ -823,7 +823,7 @@ translate_bytecode_to_trace(
823823
goto top;
824824
}
825825
DPRINTF(2, "Bail, new_code == NULL\n");
826-
ADD_TO_TRACE(uop, oparg, 0, target);
826+
OPT_STAT_INC(low_confidence);
827827
return 0;
828828
}
829829

0 commit comments

Comments
 (0)