Extending JumpTemplate to 3.12

This commit is contained in:
Xinlong Hu
2025-08-04 23:45:03 -05:00
parent c381d60a96
commit 7680bef29f
@@ -54,7 +54,7 @@ class RemoveUnreachable(ControlFlowTemplate):
return node
@register_template(0, 0, (3, 13))
@register_template(0, 0, (3, 12), (3, 13))
class JumpTemplate(ControlFlowTemplate):
template = T(
body=~N("jump", None).with_cond(without_instructions("CLEANUP_THROW")),