src/share/vm/utilities/constantTag.hpp
Index Unified diffs Context diffs Sdiffs Wdiffs Patch New Old Previous File Next File 6893268 Cdiff src/share/vm/utilities/constantTag.hpp

src/share/vm/utilities/constantTag.hpp

Print this page
rev 1026 : imported patch indy.compiler.inline.patch

*** 34,44 **** JVM_CONSTANT_UnresolvedClass = 100, // Temporary tag until actual use JVM_CONSTANT_ClassIndex = 101, // Temporary tag while constructing constant pool JVM_CONSTANT_UnresolvedString = 102, // Temporary tag until actual use JVM_CONSTANT_StringIndex = 103, // Temporary tag while constructing constant pool JVM_CONSTANT_UnresolvedClassInError = 104, // Error tag due to resolution error ! JVM_CONSTANT_InternalMax = 104 // Last implementation tag }; class constantTag VALUE_OBJ_CLASS_SPEC { private: --- 34,45 ---- JVM_CONSTANT_UnresolvedClass = 100, // Temporary tag until actual use JVM_CONSTANT_ClassIndex = 101, // Temporary tag while constructing constant pool JVM_CONSTANT_UnresolvedString = 102, // Temporary tag until actual use JVM_CONSTANT_StringIndex = 103, // Temporary tag while constructing constant pool JVM_CONSTANT_UnresolvedClassInError = 104, // Error tag due to resolution error ! JVM_CONSTANT_Object = 105, // Required for BoundMethodHandle arguments. ! JVM_CONSTANT_InternalMax = 105 // Last implementation tag }; class constantTag VALUE_OBJ_CLASS_SPEC { private:
*** 68,77 **** --- 69,80 ---- bool is_klass_index() const { return _tag == JVM_CONSTANT_ClassIndex; } bool is_unresolved_string() const { return _tag == JVM_CONSTANT_UnresolvedString; } bool is_string_index() const { return _tag == JVM_CONSTANT_StringIndex; } + bool is_object() const { return _tag == JVM_CONSTANT_Object; } + bool is_klass_reference() const { return is_klass_index() || is_unresolved_klass(); } bool is_klass_or_reference() const{ return is_klass() || is_klass_reference(); } bool is_field_or_method() const { return is_field() || is_method() || is_interface_method(); } bool is_symbol() const { return is_utf8(); }
src/share/vm/utilities/constantTag.hpp
Index Unified diffs Context diffs Sdiffs Wdiffs Patch New Old Previous File Next File