comparison src/share/vm/utilities/constantTag.hpp @ 12850:28ca974cc21a

8022592: assert at constantTag.cpp:57: ShouldNotReachHere() Summary: more missing cases for JVM_CONSTANT_Method{Handle,Type}InError Reviewed-by: hseigel, dcubed
author coleenp
date Fri, 11 Oct 2013 11:23:49 -0400
parents f16e75e0cf11
children
comparison
equal deleted inserted replaced
12847:cd7ea1d79dac 12850:28ca974cc21a
106 (tag >= JVM_CONSTANT_MethodHandle && tag <= JVM_CONSTANT_InvokeDynamic) || 106 (tag >= JVM_CONSTANT_MethodHandle && tag <= JVM_CONSTANT_InvokeDynamic) ||
107 (tag >= JVM_CONSTANT_InternalMin && tag <= JVM_CONSTANT_InternalMax), "Invalid constant tag"); 107 (tag >= JVM_CONSTANT_InternalMin && tag <= JVM_CONSTANT_InternalMax), "Invalid constant tag");
108 _tag = tag; 108 _tag = tag;
109 } 109 }
110 110
111 jbyte value() { return _tag; } 111 jbyte value() const { return _tag; }
112 jbyte non_error_value() const;
112 113
113 BasicType basic_type() const; // if used with ldc, what kind of value gets pushed? 114 BasicType basic_type() const; // if used with ldc, what kind of value gets pushed?
114 115
115 const char* internal_name() const; // for error reporting 116 const char* internal_name() const; // for error reporting
116 117