[BOLT][NFC] Remove unused MCPlusBuilder::isEnter

Summary: Remove unused code identified via coverage report.

(cherry picked from FBD32818608)
This commit is contained in:
Amir Ayupov 2021-12-02 17:23:58 -08:00 committed by Maksim Panchenko
parent 8e632eae56
commit b69d487a62
2 changed files with 0 additions and 9 deletions

View File

@ -551,11 +551,6 @@ public:
return false;
}
virtual bool isEnter(const MCInst &Inst) const {
llvm_unreachable("not implemented");
return false;
}
virtual bool isADRP(const MCInst &Inst) const {
llvm_unreachable("not implemented");
return false;

View File

@ -646,10 +646,6 @@ public:
Inst.getOpcode() == X86::LEAVE64;
}
bool isEnter(const MCInst &Inst) const override {
return Inst.getOpcode() == X86::ENTER;
}
bool isMoveMem2Reg(const MCInst &Inst) const override {
switch (Inst.getOpcode()) {
case X86::MOV16rm: