comparison src/share/vm/interpreter/bytecodes.hpp @ 7194:beebba0acc11

7172640: C2: instrinsic implementations in LibraryCallKit should use argument() instead of pop() Reviewed-by: kvn, jrose
author twisti
date Mon, 26 Nov 2012 17:25:11 -0800
parents da91efe96a93
children 600c44255e5f
comparison
equal deleted inserted replaced
7193:ee32440febeb 7194:beebba0acc11
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");