hotspot/src/share/vm/utilities/constantTag.hpp
changeset 9116 9bc44be338d6
parent 7436 dbc43da3d512
child 13728 882756847a04
equal deleted inserted replaced
9115:5a28312aa393 9116:9bc44be338d6
    84   bool is_field_or_method() const   { return is_field() || is_method() || is_interface_method(); }
    84   bool is_field_or_method() const   { return is_field() || is_method() || is_interface_method(); }
    85   bool is_symbol() const            { return is_utf8(); }
    85   bool is_symbol() const            { return is_utf8(); }
    86 
    86 
    87   bool is_method_type() const              { return _tag == JVM_CONSTANT_MethodType; }
    87   bool is_method_type() const              { return _tag == JVM_CONSTANT_MethodType; }
    88   bool is_method_handle() const            { return _tag == JVM_CONSTANT_MethodHandle; }
    88   bool is_method_handle() const            { return _tag == JVM_CONSTANT_MethodHandle; }
    89   bool is_invoke_dynamic() const           { return (_tag == JVM_CONSTANT_InvokeDynamic ||
    89   bool is_invoke_dynamic() const           { return _tag == JVM_CONSTANT_InvokeDynamic; }
    90                                                      _tag == JVM_CONSTANT_InvokeDynamicTrans); }
       
    91 
    90 
    92   bool is_loadable_constant() const {
    91   bool is_loadable_constant() const {
    93     return ((_tag >= JVM_CONSTANT_Integer && _tag <= JVM_CONSTANT_String) ||
    92     return ((_tag >= JVM_CONSTANT_Integer && _tag <= JVM_CONSTANT_String) ||
    94             is_method_type() || is_method_handle() ||
    93             is_method_type() || is_method_handle() ||
    95             is_unresolved_klass() || is_unresolved_string() ||
    94             is_unresolved_klass() || is_unresolved_string() ||