summaryrefslogtreecommitdiffstats
path: root/Python/executor.c
diff options
context:
space:
mode:
Diffstat (limited to 'Python/executor.c')
-rw-r--r--Python/executor.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/Python/executor.c b/Python/executor.c
index bfa7f7e..2884565 100644
--- a/Python/executor.c
+++ b/Python/executor.c
@@ -25,6 +25,7 @@
#undef DEOPT_IF
#define DEOPT_IF(COND, INSTNAME) \
if ((COND)) { \
+ UOP_STAT_INC(INSTNAME, miss); \
goto deoptimize; \
}
@@ -93,7 +94,7 @@ _PyUopExecute(_PyExecutorObject *executor, _PyInterpreterFrame *frame, PyObject
(int)(stack_pointer - _PyFrame_Stackbase(frame)));
pc++;
OPT_STAT_INC(uops_executed);
- UOP_EXE_INC(opcode);
+ UOP_STAT_INC(opcode, execution_count);
#ifdef Py_STATS
trace_uop_execution_counter++;
#endif