summaryrefslogtreecommitdiffstats
path: root/Python/optimizer_bytecodes.c
diff options
context:
space:
mode:
Diffstat (limited to 'Python/optimizer_bytecodes.c')
-rw-r--r--Python/optimizer_bytecodes.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/Python/optimizer_bytecodes.c b/Python/optimizer_bytecodes.c
index 8bc5634..6076328 100644
--- a/Python/optimizer_bytecodes.c
+++ b/Python/optimizer_bytecodes.c
@@ -673,6 +673,15 @@ dummy_func(void) {
}
}
+ op(_YIELD_VALUE, (unused -- res)) {
+ OUT_OF_SPACE_IF_NULL(res = sym_new_unknown(ctx));
+ }
+
+ op(_FOR_ITER_GEN_FRAME, ( -- )) {
+ /* We are about to hit the end of the trace */
+ goto done;
+ }
+
op(_CHECK_STACK_SPACE, ( --)) {
assert(corresponding_check_stack == NULL);
corresponding_check_stack = this_instr;