mirror of
https://github.com/revanced/smali.git
synced 2025-05-12 04:14:27 +02:00
Fix up some of the comments in RegisterType
This commit is contained in:
parent
02f1d6cc1a
commit
b6c52bc254
@ -86,8 +86,10 @@ public class RegisterType {
|
|||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
//the Unknown category denotes a register type that hasn't been determined yet
|
// The Unknown category denotes a register type that hasn't been determined yet
|
||||||
public static final byte UNKNOWN = 0;
|
public static final byte UNKNOWN = 0;
|
||||||
|
// The Uninit category is for registers that haven't been set yet. e.g. the non-parameter registers in a method
|
||||||
|
// start out as unint
|
||||||
public static final byte UNINIT = 1;
|
public static final byte UNINIT = 1;
|
||||||
public static final byte NULL = 2;
|
public static final byte NULL = 2;
|
||||||
public static final byte ONE = 3;
|
public static final byte ONE = 3;
|
||||||
@ -103,15 +105,15 @@ public class RegisterType {
|
|||||||
public static final byte LONG_HI = 13;
|
public static final byte LONG_HI = 13;
|
||||||
public static final byte DOUBLE_LO = 14;
|
public static final byte DOUBLE_LO = 14;
|
||||||
public static final byte DOUBLE_HI = 15;
|
public static final byte DOUBLE_HI = 15;
|
||||||
//the UninitRef category is used after a new-instance operation, and before the corresponding <init> is called
|
// The UninitRef category is used after a new-instance operation, and before the corresponding <init> is called
|
||||||
public static final byte UNINIT_REF = 16;
|
public static final byte UNINIT_REF = 16;
|
||||||
//the UninitThis category is used the "this" register inside an <init> method, before the superclass' <init>
|
// The UninitThis category is used the "this" register inside an <init> method, before the superclass' <init>
|
||||||
//method is called
|
// method is called
|
||||||
public static final byte UNINIT_THIS = 17;
|
public static final byte UNINIT_THIS = 17;
|
||||||
public static final byte REFERENCE = 18;
|
public static final byte REFERENCE = 18;
|
||||||
//This is used when there are multiple incoming execution paths that have incompatible register types. For
|
// This is used when there are multiple incoming execution paths that have incompatible register types. For
|
||||||
//example if the register's type is an Integer on one incoming code path, but is a Reference type on another
|
// example if the register's type is an Integer on one incoming code path, but is a Reference type on another
|
||||||
//incomming code path. There is no register type that can hold either an Integer or a Reference.
|
// incomming code path. There is no register type that can hold either an Integer or a Reference.
|
||||||
public static final byte CONFLICTED = 19;
|
public static final byte CONFLICTED = 19;
|
||||||
|
|
||||||
public static final String[] CATEGORY_NAMES = new String[] {
|
public static final String[] CATEGORY_NAMES = new String[] {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user