hotspot/src/share/vm/interpreter/bytecodes.hpp
changeset 13522 5ad4627e792a
parent 13391 30245956af37
child 13728 882756847a04
--- a/hotspot/src/share/vm/interpreter/bytecodes.hpp	Mon Aug 27 15:17:17 2012 -0700
+++ b/hotspot/src/share/vm/interpreter/bytecodes.hpp	Tue Aug 28 15:24:39 2012 -0700
@@ -424,6 +424,8 @@
                                                            || code == _fconst_0 || code == _dconst_0); }
   static bool        is_invoke      (Code code)    { return (_invokevirtual <= code && code <= _invokedynamic); }
 
+  static bool        has_optional_appendix(Code code) { return code == _invokedynamic || code == _invokehandle; }
+
   static int         compute_flags  (const char* format, int more_flags = 0);  // compute the flags
   static int         flags          (int code, bool is_wide) {
     assert(code == (u_char)code, "must be a byte");