hotspot/src/share/vm/utilities/constantTag.hpp
changeset 7436 dbc43da3d512
parent 7397 5b173b4ca846
child 9116 9bc44be338d6
--- a/hotspot/src/share/vm/utilities/constantTag.hpp	Fri Dec 03 12:14:33 2010 -0800
+++ b/hotspot/src/share/vm/utilities/constantTag.hpp	Fri Dec 03 15:53:57 2010 -0800
@@ -86,7 +86,8 @@
 
   bool is_method_type() const              { return _tag == JVM_CONSTANT_MethodType; }
   bool is_method_handle() const            { return _tag == JVM_CONSTANT_MethodHandle; }
-  bool is_invoke_dynamic() const           { return _tag == JVM_CONSTANT_InvokeDynamic; }
+  bool is_invoke_dynamic() const           { return (_tag == JVM_CONSTANT_InvokeDynamic ||
+                                                     _tag == JVM_CONSTANT_InvokeDynamicTrans); }
 
   bool is_loadable_constant() const {
     return ((_tag >= JVM_CONSTANT_Integer && _tag <= JVM_CONSTANT_String) ||