0
0
mirror of https://github.com/python/cpython.git synced 2024-11-24 17:47:13 +01:00

gh-116808: Fix optimized trace length histogram (GH-116827)

This commit is contained in:
Michael Droettboom 2024-03-19 07:06:43 -04:00 committed by GitHub
parent 5405e9e5b5
commit 0f278012e8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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;
}