gh-91276: remove unused _PyOpcode_RelativeJump (#103156)

This commit is contained in:
Irit Katriel 2023-04-11 11:20:39 +01:00 committed by GitHub
parent 33822d037a
commit 21bea68e2e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 12 additions and 42 deletions

View file

@ -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
}