src/share/vm/interpreter/bytecodes.hpp

changeset 3969
1d7922586cf6
parent 3097
de847cac9235
child 4021
7f813940ac35
     1.1 --- a/src/share/vm/interpreter/bytecodes.hpp	Mon Jul 23 13:04:59 2012 -0700
     1.2 +++ b/src/share/vm/interpreter/bytecodes.hpp	Tue Jul 24 10:51:00 2012 -0700
     1.3 @@ -282,6 +282,9 @@
     1.4  
     1.5      _return_register_finalizer    ,
     1.6  
     1.7 +    // special handling of signature-polymorphic methods:
     1.8 +    _invokehandle         ,
     1.9 +
    1.10      _shouldnotreachhere,      // For debugging
    1.11  
    1.12      // Platform specific JVM bytecodes
    1.13 @@ -356,8 +359,8 @@
    1.14  
    1.15   public:
    1.16    // Conversion
    1.17 -  static void        check          (Code code)    { assert(is_defined(code), "illegal code"); }
    1.18 -  static void        wide_check     (Code code)    { assert(wide_is_defined(code), "illegal code"); }
    1.19 +  static void        check          (Code code)    { assert(is_defined(code),      err_msg("illegal code: %d", (int)code)); }
    1.20 +  static void        wide_check     (Code code)    { assert(wide_is_defined(code), err_msg("illegal code: %d", (int)code)); }
    1.21    static Code        cast           (int  code)    { return (Code)code; }
    1.22  
    1.23  

mercurial