mirror of
https://github.com/revanced/smali.git
synced 2025-05-29 20:20:12 +02:00
Fix accidental case fall-throughs in MutableMethodImplementation
This commit is contained in:
parent
1697b1d97d
commit
bc6fcd5ae3
@ -589,8 +589,10 @@ public class MutableMethodImplementation implements MethodImplementation {
|
|||||||
case SparseSwitchPayload:
|
case SparseSwitchPayload:
|
||||||
setInstruction(location,
|
setInstruction(location,
|
||||||
newBuilderSparseSwitchPayload(location, codeAddressToIndex, (SparseSwitchPayload)instruction));
|
newBuilderSparseSwitchPayload(location, codeAddressToIndex, (SparseSwitchPayload)instruction));
|
||||||
|
return;
|
||||||
case ArrayPayload:
|
case ArrayPayload:
|
||||||
setInstruction(location, newBuilderArrayPayload((ArrayPayload)instruction));
|
setInstruction(location, newBuilderArrayPayload((ArrayPayload)instruction));
|
||||||
|
return;
|
||||||
default:
|
default:
|
||||||
throw new ExceptionWithContext("Instruction format %s not supported", instruction.getOpcode().format);
|
throw new ExceptionWithContext("Instruction format %s not supported", instruction.getOpcode().format);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user