mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
bpo-47120: make JUMP_NO_INTERRUPT relative (GH-32221)
This commit is contained in:
parent
32091df41c
commit
0aa8d5cbd8
11 changed files with 56 additions and 46 deletions
6
Include/opcode.h
generated
6
Include/opcode.h
generated
|
@ -87,7 +87,7 @@ extern "C" {
|
|||
#define GET_AWAITABLE 131
|
||||
#define MAKE_FUNCTION 132
|
||||
#define BUILD_SLICE 133
|
||||
#define JUMP_NO_INTERRUPT 134
|
||||
#define JUMP_BACKWARD_NO_INTERRUPT 134
|
||||
#define MAKE_CELL 135
|
||||
#define LOAD_CLOSURE 136
|
||||
#define LOAD_DEREF 137
|
||||
|
@ -196,7 +196,7 @@ static const uint32_t _PyOpcode_RelativeJump[8] = {
|
|||
0U,
|
||||
536870912U,
|
||||
134234112U,
|
||||
4096U,
|
||||
4160U,
|
||||
0U,
|
||||
0U,
|
||||
0U,
|
||||
|
@ -292,11 +292,11 @@ const uint8_t _PyOpcode_Deopt[256] = {
|
|||
[IMPORT_STAR] = IMPORT_STAR,
|
||||
[IS_OP] = IS_OP,
|
||||
[JUMP_BACKWARD] = JUMP_BACKWARD,
|
||||
[JUMP_BACKWARD_NO_INTERRUPT] = JUMP_BACKWARD_NO_INTERRUPT,
|
||||
[JUMP_BACKWARD_QUICK] = JUMP_BACKWARD,
|
||||
[JUMP_FORWARD] = JUMP_FORWARD,
|
||||
[JUMP_IF_FALSE_OR_POP] = JUMP_IF_FALSE_OR_POP,
|
||||
[JUMP_IF_TRUE_OR_POP] = JUMP_IF_TRUE_OR_POP,
|
||||
[JUMP_NO_INTERRUPT] = JUMP_NO_INTERRUPT,
|
||||
[KW_NAMES] = KW_NAMES,
|
||||
[LIST_APPEND] = LIST_APPEND,
|
||||
[LIST_EXTEND] = LIST_EXTEND,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue