diff --git a/src/frontend/translate/translate_arm.cpp b/src/frontend/translate/translate_arm.cpp index 2c1d1700..5deba292 100644 --- a/src/frontend/translate/translate_arm.cpp +++ b/src/frontend/translate/translate_arm.cpp @@ -119,12 +119,6 @@ bool ArmTranslatorVisitor::UnpredictableInstruction() { 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) { switch (type) { case ShiftType::LSL: diff --git a/src/frontend/translate/translate_arm/translate_arm.h b/src/frontend/translate/translate_arm/translate_arm.h index 9981e8de..df8a5f39 100644 --- a/src/frontend/translate/translate_arm/translate_arm.h +++ b/src/frontend/translate/translate_arm/translate_arm.h @@ -36,7 +36,6 @@ struct ArmTranslatorVisitor final { bool ConditionPassed(Cond cond); bool InterpretThisInstruction(); bool UnpredictableInstruction(); - bool LinkToNextInstruction(); static u32 rotr(u32 x, int shift) { shift &= 31;