We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 92243dc commit 6e9d577Copy full SHA for 6e9d577
Tools/jit/_optimizers.py
@@ -629,6 +629,8 @@ class OptimizerX86(Optimizer): # pylint: disable = too-few-public-methods
629
rf"\s*(?P<instruction>{'|'.join(_X86_BRANCHES)})\s+(?P<target>[\w.]+)"
630
)
631
# https://www.felixcloutier.com/x86/jmp
632
- _re_jump = re.compile(r"\s*jmp\s+(?P<target>[\w.]+)")
+ # https://www.felixcloutier.com/x86/call
633
+ # Calls are also logically jumps to labels.
634
+ _re_jump = re.compile(r"\s*((?:jmp)|(?:callq?))\s+(?P<target>[\w.]+)")
635
# https://www.felixcloutier.com/x86/ret
636
_re_return = re.compile(r"\s*ret\b")
0 commit comments