gh-131281: fix compile error due to BINARY_SUBSCR (GH-131283)

* fix compile error due to `BINARY_SUBSCR`

* replace stat_inc with `BINARY_OP`
This commit is contained in:
Xuanteng Huang
2025-03-15 23:38:46 +08:00
committed by GitHub
parent 55815a6474
commit 1821f8f10c
3 changed files with 3 additions and 3 deletions

View File

@@ -878,7 +878,7 @@ dummy_func(
assert(res_o != NULL);
res = PyStackRef_FromPyObjectNew(res_o);
#endif
STAT_INC(BINARY_SUBSCR, hit);
STAT_INC(BINARY_OP, hit);
DECREF_INPUTS();
}