summaryrefslogtreecommitdiffstats
path: root/Python
diff options
context:
space:
mode:
Diffstat (limited to 'Python')
-rw-r--r--Python/bytecodes.c2
-rw-r--r--Python/generated_cases.c.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/Python/bytecodes.c b/Python/bytecodes.c
index c48f0a1..7674ff8 100644
--- a/Python/bytecodes.c
+++ b/Python/bytecodes.c
@@ -192,7 +192,7 @@ dummy_func(
ERROR_IF(err, error);
if (frame->instr_ptr != this_instr) {
/* Instrumentation has jumped */
- next_instr = this_instr;
+ next_instr = frame->instr_ptr;
DISPATCH();
}
}
diff --git a/Python/generated_cases.c.h b/Python/generated_cases.c.h
index 6846872..c4bb3ae 100644
--- a/Python/generated_cases.c.h
+++ b/Python/generated_cases.c.h
@@ -3156,7 +3156,7 @@
if (err) goto error;
if (frame->instr_ptr != this_instr) {
/* Instrumentation has jumped */
- next_instr = this_instr;
+ next_instr = frame->instr_ptr;
DISPATCH();
}
}