src/share/vm/utilities/constantTag.hpp

changeset 2353
dad31fc330cd
parent 2314
f95d63e2154a
child 2742
ed69575596ac
     1.1 --- a/src/share/vm/utilities/constantTag.hpp	Fri Dec 03 12:14:33 2010 -0800
     1.2 +++ b/src/share/vm/utilities/constantTag.hpp	Fri Dec 03 15:53:57 2010 -0800
     1.3 @@ -86,7 +86,8 @@
     1.4  
     1.5    bool is_method_type() const              { return _tag == JVM_CONSTANT_MethodType; }
     1.6    bool is_method_handle() const            { return _tag == JVM_CONSTANT_MethodHandle; }
     1.7 -  bool is_invoke_dynamic() const           { return _tag == JVM_CONSTANT_InvokeDynamic; }
     1.8 +  bool is_invoke_dynamic() const           { return (_tag == JVM_CONSTANT_InvokeDynamic ||
     1.9 +                                                     _tag == JVM_CONSTANT_InvokeDynamicTrans); }
    1.10  
    1.11    bool is_loadable_constant() const {
    1.12      return ((_tag >= JVM_CONSTANT_Integer && _tag <= JVM_CONSTANT_String) ||

mercurial