Mercurial > hg > graal-jvmci-8
comparison src/share/vm/utilities/constantTag.hpp @ 2460:ed69575596ac
6981791: remove experimental code for JSR 292
Reviewed-by: twisti
author | jrose |
---|---|
date | Thu, 07 Apr 2011 17:02:30 -0700 |
parents | dad31fc330cd |
children | da91efe96a93 |
comparison
equal
deleted
inserted
replaced
2459:55973726c600 | 2460:ed69575596ac |
---|---|
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() || |