summaryrefslogtreecommitdiffstats
path: root/Python
diff options
context:
space:
mode:
Diffstat (limited to 'Python')
-rw-r--r--Python/optimizer.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/Python/optimizer.c b/Python/optimizer.c
index a6d6ffe..bb00e0d 100644
--- a/Python/optimizer.c
+++ b/Python/optimizer.c
@@ -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;
}