mirror of
https://github.com/revanced/smali.git
synced 2025-05-21 16:37:04 +02:00
Fix for bug with incorrect removal of previously inserted alignment nop.
This commit is contained in:
parent
c995fb5086
commit
dae24249f1
@ -205,7 +205,7 @@ public class InstructionWriteUtil {
|
||||
int codeOffsetDelta = codeOffsetShift(currentCodeOffset);
|
||||
if ((currentCodeOffset+codeOffsetDelta)%2 != 0) {
|
||||
if (codeOffsetShifts.contains(currentCodeOffset)) {
|
||||
codeOffsetShifts.remove(codeOffsetDelta);
|
||||
codeOffsetShifts.remove(codeOffsetDelta-1);
|
||||
offsetToNewInstructionMap.remove(currentCodeOffset);
|
||||
} else {
|
||||
codeOffsetShifts.add(codeOffsetDelta, currentCodeOffset);
|
||||
|
Loading…
x
Reference in New Issue
Block a user