[BOLT][NFC] Change signature of MCPlusBuilder::isUnsupportedBranch()
authorMaksim Panchenko <maks@fb.com>
Sat, 6 May 2023 20:27:48 +0000 (13:27 -0700)
committerMaksim Panchenko <maks@fb.com>
Tue, 13 Jun 2023 19:20:36 +0000 (12:20 -0700)
commit5c4d306a10abc8c607ebfa50d73f008010b902f3
tree84881df25b7fec7716d323c07a6c0fbb55cb54fe
parent2cb5c6d124d64344fd91eb769438fb81367bb266
[BOLT][NFC] Change signature of MCPlusBuilder::isUnsupportedBranch()

Make MCPlusBuilder::isUnsupportedBranch() take MCInst, not opcode.

Reviewed By: Amir

Differential Revision: https://reviews.llvm.org/D152765
bolt/include/bolt/Core/MCPlusBuilder.h
bolt/lib/Core/BinaryFunction.cpp
bolt/lib/Passes/Instrumentation.cpp
bolt/lib/Target/X86/X86MCPlusBuilder.cpp