summaryrefslogtreecommitdiffstats
path: root/Include
diff options
context:
space:
mode:
authorBrandt Bucher <brandtbucher@microsoft.com>2023-11-07 00:42:49 (GMT)
committerGitHub <noreply@github.com>2023-11-07 00:42:49 (GMT)
commit3e99c9cbf67225ec1d3bb6af812e883f19ef53de (patch)
treec838f4942faae9d6e8baa43159f4828b1cde5746 /Include
parentd4426e8d001cfb4590911e2e7de6963e12529faf (diff)
downloadcpython-3e99c9cbf67225ec1d3bb6af812e883f19ef53de.zip
cpython-3e99c9cbf67225ec1d3bb6af812e883f19ef53de.tar.gz
cpython-3e99c9cbf67225ec1d3bb6af812e883f19ef53de.tar.bz2
GH-111485: Make BEFORE_WITH a uop (GH-111812)
Diffstat (limited to 'Include')
-rw-r--r--Include/internal/pycore_opcode_metadata.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Include/internal/pycore_opcode_metadata.h b/Include/internal/pycore_opcode_metadata.h
index ed38ed0..6d3bda6 100644
--- a/Include/internal/pycore_opcode_metadata.h
+++ b/Include/internal/pycore_opcode_metadata.h
@@ -1864,6 +1864,7 @@ const struct opcode_macro_expansion _PyOpcode_macro_expansion[OPCODE_MACRO_EXPAN
[GET_ITER] = { .nuops = 1, .uops = { { GET_ITER, 0, 0 } } },
[GET_YIELD_FROM_ITER] = { .nuops = 1, .uops = { { GET_YIELD_FROM_ITER, 0, 0 } } },
[BEFORE_ASYNC_WITH] = { .nuops = 1, .uops = { { BEFORE_ASYNC_WITH, 0, 0 } } },
+ [BEFORE_WITH] = { .nuops = 1, .uops = { { BEFORE_WITH, 0, 0 } } },
[WITH_EXCEPT_START] = { .nuops = 1, .uops = { { WITH_EXCEPT_START, 0, 0 } } },
[PUSH_EXC_INFO] = { .nuops = 1, .uops = { { PUSH_EXC_INFO, 0, 0 } } },
[LOAD_ATTR_METHOD_WITH_VALUES] = { .nuops = 4, .uops = { { _GUARD_TYPE_VERSION, 2, 1 }, { _GUARD_DORV_VALUES_INST_ATTR_FROM_DICT, 0, 0 }, { _GUARD_KEYS_VERSION, 2, 3 }, { _LOAD_ATTR_METHOD_WITH_VALUES, 4, 5 } } },