src/share/vm/interpreter/bytecode.hpp

changeset 1573
dd57230ba8fe
parent 1570
e66fd840cb6b
child 1907
c18cbe5936b8
child 1920
ab102d5d923e
     1.1 --- a/src/share/vm/interpreter/bytecode.hpp	Tue Jan 05 13:05:58 2010 +0100
     1.2 +++ b/src/share/vm/interpreter/bytecode.hpp	Tue Jan 05 15:21:25 2010 +0100
     1.3 @@ -205,6 +205,7 @@
     1.4    bool is_invokespecial() const                  { return adjusted_invoke_code() == Bytecodes::_invokespecial; }
     1.5    bool is_invokedynamic() const                  { return adjusted_invoke_code() == Bytecodes::_invokedynamic; }
     1.6  
     1.7 +  bool has_receiver() const                      { return !is_invokestatic() && !is_invokedynamic(); }
     1.8    bool has_giant_index() const                   { return is_invokedynamic(); }
     1.9  
    1.10    bool is_valid() const                          { return is_invokeinterface() ||

mercurial