src/share/vm/utilities/constantTag.hpp

changeset 5889
28ca974cc21a
parent 4643
f16e75e0cf11
child 6876
710a3c8b516e
child 9966
baf9f57c9b46
equal deleted inserted replaced
5886:cd7ea1d79dac 5889: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

mercurial