summaryrefslogtreecommitdiffstats
path: root/Include
diff options
context:
space:
mode:
authorIrit Katriel <1055913+iritkatriel@users.noreply.github.com>2022-04-05 11:49:08 (GMT)
committerGitHub <noreply@github.com>2022-04-05 11:49:08 (GMT)
commit0aa8d5cbd89cf3b61d7e8626f3a7b9c4881dfd70 (patch)
treeb28edee28c5dd4cf022135e1204421c9795b3e38 /Include
parent32091df41ce6e3a71df2cf37dc74b728c0d885f2 (diff)
downloadcpython-0aa8d5cbd89cf3b61d7e8626f3a7b9c4881dfd70.zip
cpython-0aa8d5cbd89cf3b61d7e8626f3a7b9c4881dfd70.tar.gz
cpython-0aa8d5cbd89cf3b61d7e8626f3a7b9c4881dfd70.tar.bz2
bpo-47120: make JUMP_NO_INTERRUPT relative (GH-32221)
Diffstat (limited to 'Include')
-rw-r--r--Include/opcode.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/Include/opcode.h b/Include/opcode.h
index fd49dfe..ff3ffdd 100644
--- a/Include/opcode.h
+++ b/Include/opcode.h
@@ -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,