hotspot/src/share/vm/interpreter/bytecodes.hpp
changeset 13522 5ad4627e792a
parent 13391 30245956af37
child 13728 882756847a04
equal deleted inserted replaced
13521:97a23be06f4e 13522:5ad4627e792a
   422 
   422 
   423   static bool        is_zero_const  (Code code)    { return (code == _aconst_null || code == _iconst_0
   423   static bool        is_zero_const  (Code code)    { return (code == _aconst_null || code == _iconst_0
   424                                                            || code == _fconst_0 || code == _dconst_0); }
   424                                                            || code == _fconst_0 || code == _dconst_0); }
   425   static bool        is_invoke      (Code code)    { return (_invokevirtual <= code && code <= _invokedynamic); }
   425   static bool        is_invoke      (Code code)    { return (_invokevirtual <= code && code <= _invokedynamic); }
   426 
   426 
       
   427   static bool        has_optional_appendix(Code code) { return code == _invokedynamic || code == _invokehandle; }
       
   428 
   427   static int         compute_flags  (const char* format, int more_flags = 0);  // compute the flags
   429   static int         compute_flags  (const char* format, int more_flags = 0);  // compute the flags
   428   static int         flags          (int code, bool is_wide) {
   430   static int         flags          (int code, bool is_wide) {
   429     assert(code == (u_char)code, "must be a byte");
   431     assert(code == (u_char)code, "must be a byte");
   430     return _flags[code + (is_wide ? (1<<BitsPerByte) : 0)];
   432     return _flags[code + (is_wide ? (1<<BitsPerByte) : 0)];
   431   }
   433   }