Lines Matching defs:TypeOrigin
91 class TypeOrigin VALUE_OBJ_CLASS_SPEC {
111 TypeOrigin(
116 TypeOrigin() : _origin(NONE), _index(0), _frame(NULL) {}
118 static TypeOrigin null();
119 static TypeOrigin local(u2 index, StackMapFrame* frame);
120 static TypeOrigin stack(u2 index, StackMapFrame* frame);
121 static TypeOrigin sm_local(u2 index, StackMapFrame* frame);
122 static TypeOrigin sm_stack(u2 index, StackMapFrame* frame);
123 static TypeOrigin cp(u2 index, VerificationType vt);
124 static TypeOrigin signature(VerificationType vt);
125 static TypeOrigin bad_index(u2 index);
126 static TypeOrigin implicit(VerificationType t);
127 static TypeOrigin frame(StackMapFrame* frame);
161 TypeOrigin _type;
162 TypeOrigin _expected;
166 ErrorContext(int bci, FaultType fault, TypeOrigin type) :
168 ErrorContext(int bci, FaultType fault, TypeOrigin type, TypeOrigin exp) :
177 static ErrorContext bad_type(u2 bci, TypeOrigin type) {
180 static ErrorContext bad_type(u2 bci, TypeOrigin type, TypeOrigin exp) {
184 return ErrorContext(bci, FLAGS_MISMATCH, TypeOrigin::frame(frame));
188 TypeOrigin::frame(cur), TypeOrigin::frame(sm));
191 return ErrorContext(bci, BAD_CP_INDEX, TypeOrigin::bad_index(index));
194 return ErrorContext(bci, BAD_LOCAL_INDEX, TypeOrigin::bad_index(index));
199 TypeOrigin::frame(frame0), TypeOrigin::frame(frame1));
204 TypeOrigin::frame(frame0), TypeOrigin::frame(frame1));
207 return ErrorContext(bci, STACK_OVERFLOW, TypeOrigin::frame(frame));
210 return ErrorContext(bci, STACK_UNDERFLOW, TypeOrigin::frame(frame));
216 return ErrorContext(0, BAD_STACKMAP, TypeOrigin::frame(frame));
400 TypeOrigin ref_ctx(const char* str, TRAPS);