This diff move the logic of GetControlFlowKind() from Disassembler.cpp to DisassemblerLLVMC.cpp.
Here's details:
- Actual logic of GetControlFlowKind() move to DisassemblerLLVMC.cpp, and we can check underlying architecture using DisassemblerScope there.
- With this change, passing 'triple' to GetControlFlowKind() is no more required.
could add a default implementation here?
{
that way you won't break any other class that extends Instruction.