diff options
| author | chedahub <2017000029@ushs.hs.kr> | 2025-10-22 21:34:44 +0900 |
|---|---|---|
| committer | Peter LaFosse <peter@vector35.com> | 2025-10-29 13:33:30 -0400 |
| commit | 6f1e52dec1b1362a2517741b16c4c28ec2747d29 (patch) | |
| tree | 1e46d4dfa0904064229f204afd73b5b28bd8acfc /arch/powerpc/il.cpp | |
| parent | 11010433c257abd9eeabb474a20ad6a832af0867 (diff) | |
Fix(ppc/il): Treat r0 as a register in e_addi/e_add16i IL
Diffstat (limited to 'arch/powerpc/il.cpp')
| -rw-r--r-- | arch/powerpc/il.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/il.cpp b/arch/powerpc/il.cpp index b288561a..728b3069 100644 --- a/arch/powerpc/il.cpp +++ b/arch/powerpc/il.cpp @@ -611,7 +611,7 @@ bool GetLowLevelILForPPCInstruction(Architecture *arch, LowLevelILFunction &il, ei0 = il.Const(addressSize_l, oper2->simm); ei0 = il.Add( addressSize_l, - operToIL(il, oper1, OTI_GPR0_ZERO, PPC_IL_EXTRA_DEFAULT, addressSize_l), + operToIL(il, oper1), ei0 ); ei0 = il.SetRegister(addressSize_l, oper0->reg, ei0); |
