Home | History | Annotate | Download | only in analysis

Lines Matching refs:category

43     public final byte category;
46 private RegisterType(byte category, @Nullable TypeProto type) {
47 assert ((category == REFERENCE || category == UNINIT_REF || category == UNINIT_THIS) && type != null) ||
48 ((category != REFERENCE && category != UNINIT_REF && category != UNINIT_THIS) && type == null);
50 this.category = category;
56 return "(" + CATEGORY_NAMES[category] + (type==null?"":("," + type)) + ")";
61 writer.write(CATEGORY_NAMES[category]);
76 if (category != that.category) {
82 if (category == UNINIT_REF || category == UNINIT_THIS) {
90 int result = category;
95 // The Unknown category denotes a register type that hasn't been determined yet
97 // The Uninit category is for registers that haven't been set yet. e.g. the non-parameter registers in a method
114 // The UninitRef category is used after a new-instance operation, and before the corresponding <init> is called
116 // The UninitThis category is used the "this" register inside an <init> method, before the superclass' <init>
277 byte mergedCategory = mergeTable[this.category][other.category];
292 if (this.category == UNKNOWN) {
295 assert other.category == UNKNOWN;
311 public static RegisterType getRegisterType(byte category, @Nullable TypeProto typeProto) {
312 switch (category) {
349 return new RegisterType(category, typeProto);