diff options
author | Brandt Bucher <brandtbucher@microsoft.com> | 2024-07-18 21:24:58 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-07-18 21:24:58 (GMT) |
commit | 7b36b67b1e585c541b418eaa190c56e73f9a2d87 (patch) | |
tree | 140da7113d0f7c2ebcfb1fd6ff53ec01fd0aba6d /Python/optimizer_bytecodes.c | |
parent | 7dd52b63cef3ff60868dea510ef7a9adcc6611cc (diff) | |
download | cpython-7b36b67b1e585c541b418eaa190c56e73f9a2d87.zip cpython-7b36b67b1e585c541b418eaa190c56e73f9a2d87.tar.gz cpython-7b36b67b1e585c541b418eaa190c56e73f9a2d87.tar.bz2 |
GH-118093: Add tier two support to several instructions (GH-121884)
Diffstat (limited to 'Python/optimizer_bytecodes.c')
-rw-r--r-- | Python/optimizer_bytecodes.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Python/optimizer_bytecodes.c b/Python/optimizer_bytecodes.c index 2ea839f..a506f99 100644 --- a/Python/optimizer_bytecodes.c +++ b/Python/optimizer_bytecodes.c @@ -658,6 +658,11 @@ dummy_func(void) { ctx->done = true; } + op(_SEND_GEN_FRAME, ( -- )) { + // We are about to hit the end of the trace: + ctx->done = true; + } + op(_CHECK_STACK_SPACE, ( --)) { assert(corresponding_check_stack == NULL); corresponding_check_stack = this_instr; |