mirror of https://github.com/python/cpython
gh-116808: Fix optimized trace length histogram (GH-116827)
This commit is contained in:
parent
5405e9e5b5
commit
0f278012e8
|
@ -913,6 +913,8 @@ make_executor_from_uops(_PyUOpInstruction *buffer, const _PyBloomFilter *depende
|
|||
if (executor == NULL) {
|
||||
return NULL;
|
||||
}
|
||||
OPT_HIST(length, optimized_trace_length_hist);
|
||||
|
||||
/* Initialize exits */
|
||||
for (int i = 0; i < exit_count; i++) {
|
||||
executor->exits[i].executor = &COLD_EXITS[i];
|
||||
|
@ -1051,7 +1053,6 @@ uop_optimize(
|
|||
if (executor == NULL) {
|
||||
return -1;
|
||||
}
|
||||
OPT_HIST(Py_SIZE(executor), optimized_trace_length_hist);
|
||||
*exec_ptr = executor;
|
||||
return 1;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue