mirror of
https://github.com/python/cpython.git
synced 2025-08-31 22:18:28 +00:00
gh-91276: remove unused _PyOpcode_RelativeJump (#103156)
This commit is contained in:
parent
33822d037a
commit
21bea68e2e
4 changed files with 12 additions and 42 deletions
|
@ -8,7 +8,7 @@ extern "C" {
|
|||
# error "this header requires Py_BUILD_CORE define"
|
||||
#endif
|
||||
|
||||
#include "pycore_opcode.h" // _PyOpcode_RelativeJump
|
||||
#include "pycore_opcode.h" // _PyOpcode_Jump
|
||||
|
||||
|
||||
#define MAX_REAL_OPCODE 254
|
||||
|
@ -85,9 +85,6 @@ is_bit_set_in_table(const uint32_t *table, int bitindex) {
|
|||
#undef LOG_BITS_PER_INT
|
||||
#undef MASK_LOW_LOG_BITS
|
||||
|
||||
#define IS_RELATIVE_JUMP(opcode) (is_bit_set_in_table(_PyOpcode_RelativeJump, opcode))
|
||||
|
||||
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue