TranslateArm/LoadStore: Add default case to switches for arm_LDRD_imm and arm_LDRD_reg (fixes GCC warning)
This commit is contained in:
parent
4d127c19dd
commit
7915f97d98
1 changed files with 6 additions and 2 deletions
|
@ -122,6 +122,8 @@ bool ArmTranslatorVisitor::arm_LDRD_imm(Cond cond, bool P, bool U, bool W, Reg n
|
||||||
case Reg::LR:
|
case Reg::LR:
|
||||||
data_b = ir.Add(data_b, ir.Imm32(4));
|
data_b = ir.Add(data_b, ir.Imm32(4));
|
||||||
break;
|
break;
|
||||||
|
default:
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (d == Reg::PC) {
|
if (d == Reg::PC) {
|
||||||
|
@ -160,6 +162,8 @@ bool ArmTranslatorVisitor::arm_LDRD_reg(Cond cond, bool P, bool U, bool W, Reg n
|
||||||
case Reg::LR:
|
case Reg::LR:
|
||||||
data_b = ir.Add(data_b, ir.Imm32(4));
|
data_b = ir.Add(data_b, ir.Imm32(4));
|
||||||
break;
|
break;
|
||||||
|
default:
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (d == Reg::PC) {
|
if (d == Reg::PC) {
|
||||||
|
|
Loading…
Reference in a new issue