summaryrefslogtreecommitdiffstats
path: root/Python/bytecodes.c
diff options
context:
space:
mode:
Diffstat (limited to 'Python/bytecodes.c')
-rw-r--r--Python/bytecodes.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/Python/bytecodes.c b/Python/bytecodes.c
index f879ea5..7010042 100644
--- a/Python/bytecodes.c
+++ b/Python/bytecodes.c
@@ -4021,6 +4021,11 @@ dummy_func(
memmove(&stack_pointer[-1 - oparg], &stack_pointer[-oparg], oparg * sizeof(stack_pointer[0]));
}
+ op(_CHECK_VALIDITY, (--)) {
+ TIER_TWO_ONLY
+ DEOPT_IF(!current_executor->base.vm_data.valid);
+ }
+
// END BYTECODES //