hotspot/src/share/vm/interpreter/bytecodes.hpp
changeset 14621 fd9265ab0f67
parent 13728 882756847a04
child 24322 c2978d1578e3
equal deleted inserted replaced
14620:45167d2bc15a 14621:fd9265ab0f67
   421                                                                              || code == _astore_2 || code == _astore_3); }
   421                                                                              || code == _astore_2 || code == _astore_3); }
   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   static bool        has_receiver   (Code code)    { assert(is_invoke(code), "");  return code == _invokevirtual ||
       
   427                                                                                           code == _invokespecial ||
       
   428                                                                                           code == _invokeinterface; }
   427   static bool        has_optional_appendix(Code code) { return code == _invokedynamic || code == _invokehandle; }
   429   static bool        has_optional_appendix(Code code) { return code == _invokedynamic || code == _invokehandle; }
   428 
   430 
   429   static int         compute_flags  (const char* format, int more_flags = 0);  // compute the flags
   431   static int         compute_flags  (const char* format, int more_flags = 0);  // compute the flags
   430   static int         flags          (int code, bool is_wide) {
   432   static int         flags          (int code, bool is_wide) {
   431     assert(code == (u_char)code, "must be a byte");
   433     assert(code == (u_char)code, "must be a byte");