1.1 --- a/src/share/vm/interpreter/bytecodes.hpp Tue Aug 30 19:01:58 2011 -0700 1.2 +++ b/src/share/vm/interpreter/bytecodes.hpp Wed Aug 31 01:40:45 2011 -0700 1.3 @@ -419,6 +419,8 @@ 1.4 1.5 static bool is_zero_const (Code code) { return (code == _aconst_null || code == _iconst_0 1.6 || code == _fconst_0 || code == _dconst_0); } 1.7 + static bool is_invoke (Code code) { return (_invokevirtual <= code && code <= _invokedynamic); } 1.8 + 1.9 static int compute_flags (const char* format, int more_flags = 0); // compute the flags 1.10 static int flags (int code, bool is_wide) { 1.11 assert(code == (u_char)code, "must be a byte");