Skip to content

Commit f9a8bc5

Browse files
committed
cleanup
1 parent bb35e19 commit f9a8bc5

4 files changed

Lines changed: 236 additions & 236 deletions

File tree

Include/internal/pycore_uop_metadata.h

Lines changed: 32 additions & 32 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Python/bytecodes.c

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -613,16 +613,6 @@ dummy_func(
613613
PyStackRef_CLOSE(value);
614614
}
615615

616-
op(_GUARD_TOS_BYTES, (tos -- tos)) {
617-
PyObject *o = PyStackRef_AsPyObjectBorrow(tos);
618-
EXIT_IF(!PyBytes_CheckExact(o));
619-
}
620-
621-
op(_GUARD_TOS_BYTEARRAY, (tos -- tos)) {
622-
PyObject *o = PyStackRef_AsPyObjectBorrow(tos);
623-
EXIT_IF(!PyByteArray_CheckExact(o));
624-
}
625-
626616
macro(UNARY_INVERT) = _UNARY_INVERT + POP_TOP;
627617

628618
op(_UNARY_INVERT, (value -- res, v)) {
@@ -1324,6 +1314,16 @@ dummy_func(
13241314
EXIT_IF(!PyFrozenDict_CheckExact(o));
13251315
}
13261316

1317+
op(_GUARD_TOS_BYTES, (tos -- tos)) {
1318+
PyObject *o = PyStackRef_AsPyObjectBorrow(tos);
1319+
EXIT_IF(!PyBytes_CheckExact(o));
1320+
}
1321+
1322+
op(_GUARD_TOS_BYTEARRAY, (tos -- tos)) {
1323+
PyObject *o = PyStackRef_AsPyObjectBorrow(tos);
1324+
EXIT_IF(!PyByteArray_CheckExact(o));
1325+
}
1326+
13271327
macro(BINARY_OP_SUBSCR_DICT) =
13281328
_GUARD_NOS_ANY_DICT + unused/5 + _BINARY_OP_SUBSCR_DICT + POP_TOP + POP_TOP;
13291329

0 commit comments

Comments
 (0)