comparison src/share/vm/utilities/constantTag.hpp @ 3243:208b6c560ff4

Merge
author vladidan
date Thu, 14 Apr 2011 11:02:05 -0400
parents ed69575596ac
children da91efe96a93
comparison
equal deleted inserted replaced
3242:c737922fd8bb 3243:208b6c560ff4
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() ||