Mercurial > hg > truffle
comparison src/share/vm/utilities/constantTag.hpp @ 2491:0654ee04b214
Merge with OpenJDK.
author | Thomas Wuerthinger <thomas.wuerthinger@oracle.com> |
---|---|
date | Fri, 22 Apr 2011 15:30:53 +0200 |
parents | ed69575596ac |
children | da91efe96a93 |
comparison
equal
deleted
inserted
replaced
2490:29246b1d2d3c | 2491:0654ee04b214 |
---|---|
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() || |