summaryrefslogtreecommitdiffstats
path: root/Python
diff options
context:
space:
mode:
Diffstat (limited to 'Python')
-rw-r--r--Python/optimizer.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/Python/optimizer.c b/Python/optimizer.c
index e2b92e6..7fc40e6 100644
--- a/Python/optimizer.c
+++ b/Python/optimizer.c
@@ -472,6 +472,13 @@ translate_bytecode_to_trace(
goto done;
}
+ case JUMP_FORWARD:
+ {
+ // This will emit two SAVE_IP instructions; leave it to the optimizer
+ instr += oparg;
+ break;
+ }
+
default:
{
const struct opcode_macro_expansion *expansion = &_PyOpcode_macro_expansion[opcode];