equal
deleted
inserted
replaced
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 } |