Fix up some of the comments in RegisterType

This commit is contained in:
Ben Gruver 2013-04-07 23:47:03 -07:00
parent 02f1d6cc1a
commit b6c52bc254

View File

@ -86,8 +86,10 @@ public class RegisterType {
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;
// 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 NULL = 2;
public static final byte ONE = 3;
@ -103,9 +105,9 @@ public class RegisterType {
public static final byte LONG_HI = 13;
public static final byte DOUBLE_LO = 14;
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;
//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
public static final byte UNINIT_THIS = 17;
public static final byte REFERENCE = 18;