Skip to content

Commit 6f1e52d

Browse files
chedahubplafosse
authored andcommitted
Fix(ppc/il): Treat r0 as a register in e_addi/e_add16i IL
1 parent 1101043 commit 6f1e52d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/powerpc/il.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -611,7 +611,7 @@ bool GetLowLevelILForPPCInstruction(Architecture *arch, LowLevelILFunction &il,
611611
ei0 = il.Const(addressSize_l, oper2->simm);
612612
ei0 = il.Add(
613613
addressSize_l,
614-
operToIL(il, oper1, OTI_GPR0_ZERO, PPC_IL_EXTRA_DEFAULT, addressSize_l),
614+
operToIL(il, oper1),
615615
ei0
616616
);
617617
ei0 = il.SetRegister(addressSize_l, oper0->reg, ei0);

0 commit comments

Comments
 (0)