translate_arm: Remove unused method ArmTranslatorVisitor::LinkToNextInstruction

This commit is contained in:
MerryMage 2016-09-21 14:05:07 +01:00
parent f75acd6cfb
commit 792f2bfd94
2 changed files with 0 additions and 7 deletions

View file

@ -119,12 +119,6 @@ bool ArmTranslatorVisitor::UnpredictableInstruction() {
return false; return false;
} }
bool ArmTranslatorVisitor::LinkToNextInstruction() {
auto next_location = ir.current_location.AdvancePC(4);
ir.SetTerm(IR::Term::LinkBlock{next_location});
return false;
}
IR::IREmitter::ResultAndCarry ArmTranslatorVisitor::EmitImmShift(IR::Value value, ShiftType type, Imm5 imm5, IR::Value carry_in) { IR::IREmitter::ResultAndCarry ArmTranslatorVisitor::EmitImmShift(IR::Value value, ShiftType type, Imm5 imm5, IR::Value carry_in) {
switch (type) { switch (type) {
case ShiftType::LSL: case ShiftType::LSL:

View file

@ -36,7 +36,6 @@ struct ArmTranslatorVisitor final {
bool ConditionPassed(Cond cond); bool ConditionPassed(Cond cond);
bool InterpretThisInstruction(); bool InterpretThisInstruction();
bool UnpredictableInstruction(); bool UnpredictableInstruction();
bool LinkToNextInstruction();
static u32 rotr(u32 x, int shift) { static u32 rotr(u32 x, int shift) {
shift &= 31; shift &= 31;