10000 gh-131281: fix compile error due to `BINARY_SUBSCR` (GH-131283) · seehwan/cpython@f3ca154 · GitHub
[go: up one dir, main page]

Skip to content

Commit f3ca154

Browse files
xuantenghseehwan80
authored andcommitted
pythongh-131281: fix compile error due to BINARY_SUBSCR (pythonGH-131283)
* fix compile error due to `BINARY_SUBSCR` * replace stat_inc with `BINARY_OP`
1 parent 413206d commit f3ca154

File tree

3 FF90 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

Python/bytecodes.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -878,7 +878,7 @@ dummy_func(
878878
assert(res_o != NULL);
879879
res = PyStackRef_FromPyObjectNew(res_o);
880880
#endif
881-
STAT_INC(BINARY_SUBSCR, hit);
881+
STAT_INC(BINARY_OP, hit);
882882
DECREF_INPUTS();
883883
}
884884

Python/executor_cases.c.h

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Python/generated_cases.c.h

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)
0