diff options
author | Mark Shannon <mark@hotpy.org> | 2023-12-12 12:12:17 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-12 12:12:17 (GMT) |
commit | 0c55f270604f8541bcf43526e5cf6c6eddfff451 (patch) | |
tree | b8d8d09ed4c37f4338e7c0186dbb41bf1f0144c3 /Python/bytecodes.c | |
parent | c454e934d36193709aadba8e8e28739790086b95 (diff) | |
download | cpython-0c55f270604f8541bcf43526e5cf6c6eddfff451.zip cpython-0c55f270604f8541bcf43526e5cf6c6eddfff451.tar.gz cpython-0c55f270604f8541bcf43526e5cf6c6eddfff451.tar.bz2 |
GH-111485: Factor out tier 2 code generation from the rest of the interpreter code generator (GH-112968)
Diffstat (limited to 'Python/bytecodes.c')
-rw-r--r-- | Python/bytecodes.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Python/bytecodes.c b/Python/bytecodes.c index bcad8dc..e0f3735 100644 --- a/Python/bytecodes.c +++ b/Python/bytecodes.c @@ -3967,6 +3967,7 @@ dummy_func( } inst(EXTENDED_ARG, ( -- )) { + TIER_ONE_ONLY assert(oparg); opcode = next_instr->op.code; oparg = oparg << 8 | next_instr->op.arg; @@ -3975,11 +3976,13 @@ dummy_func( } inst(CACHE, (--)) { + TIER_ONE_ONLY assert(0 && "Executing a cache."); Py_UNREACHABLE(); } inst(RESERVED, (--)) { + TIER_ONE_ONLY assert(0 && "Executing RESERVED instruction."); Py_UNREACHABLE(); } |