comparison src/share/vm/interpreter/bytecodes.hpp @ 7212:291ffc492eb6

Merge with http://hg.openjdk.java.net/hsx/hsx25/hotspot/
author Doug Simon <doug.simon@oracle.com>
date Fri, 14 Dec 2012 14:35:13 +0100
parents beebba0acc11
children 600c44255e5f
comparison
equal deleted inserted replaced
7163:2ed8d74e5984 7212:291ffc492eb6
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");