diff options
| author | Nathan Sidwell <nathan@acm.org> | 2024-06-28 07:45:37 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-06-28 07:45:37 -0400 |
| commit | 6c5b62b846ec327dd8e78d4c365b3059a298c019 (patch) | |
| tree | e1243c230a60228b9d295e4e45abe9e7e96453c8 /lldb/test/API/functionalities/plugins/python_os_plugin/TestPythonOSPlugin.py | |
| parent | 69c99ad7e84b075bbafc541a2e4397e18975391d (diff) | |
[BOLT][NFC] Separate isReversibleBranch's 2 semantics (#95572)
`isUnsupportedBranch` was renamed (and inverted) to `isReversibleBranch`, as that was how it was being used. But one use in `BinaryFunction::disassemble` was using the original meaning to detect unsupported branches, and the `isUnsupportedBranch` had 2 separate semantic checks.
Move the unsupported branch check from `isReversibleBranch` to a new entry point: `isUnsupportedInstruction`. Call that from `BinaryFunction::disassemble`.
Move the dynamic branch check from X86's isReversibleBranch to the base class, as it is not an architecture-specific check.
Remove unnecessary `isReversibleBranch` calls from Instrumentation and X86 MCPlusBuilder.
Diffstat (limited to 'lldb/test/API/functionalities/plugins/python_os_plugin/TestPythonOSPlugin.py')
0 files changed, 0 insertions, 0 deletions
