mirror of
https://github.com/revanced/smali.git
synced 2025-05-22 00:37:04 +02:00
Rename Format.payloadFormat to isPayloadFormat
This commit is contained in:
parent
77ebf6842f
commit
e6d10fc788
@ -69,14 +69,14 @@ public enum Format {
|
||||
UnresolvedOdexInstruction(-1);
|
||||
|
||||
public final int size;
|
||||
public final boolean payloadFormat;
|
||||
public final boolean isPayloadFormat;
|
||||
|
||||
private Format(int size) {
|
||||
this(size, false);
|
||||
}
|
||||
|
||||
private Format(int size, boolean payloadFormat) {
|
||||
private Format(int size, boolean isPayloadFormat) {
|
||||
this.size = size;
|
||||
this.payloadFormat = payloadFormat;
|
||||
this.isPayloadFormat = isPayloadFormat;
|
||||
}
|
||||
}
|
||||
|
@ -320,7 +320,7 @@ public enum Opcode
|
||||
opcodesByName = new HashMap<Integer, Opcode>();
|
||||
|
||||
for (Opcode opcode: Opcode.values()) {
|
||||
if (!opcode.format.payloadFormat) {
|
||||
if (!opcode.format.isPayloadFormat) {
|
||||
//INVOKE_DIRECT_EMPTY was changed to INVOKE_OBJECT_INIT_RANGE in ICS
|
||||
if (opcode != INVOKE_DIRECT_EMPTY) {
|
||||
opcodesByValue[opcode.value] = opcode;
|
||||
|
Loading…
x
Reference in New Issue
Block a user