hotspot/src/share/vm/interpreter/bytecode.hpp
changeset 4567 7fc02fbe5c7a
parent 4564 55dfb20908d0
child 5688 9052dc91ea67
child 5547 f4b087cbb361
--- a/hotspot/src/share/vm/interpreter/bytecode.hpp	Tue Jan 05 13:05:58 2010 +0100
+++ b/hotspot/src/share/vm/interpreter/bytecode.hpp	Tue Jan 05 15:21:25 2010 +0100
@@ -205,6 +205,7 @@
   bool is_invokespecial() const                  { return adjusted_invoke_code() == Bytecodes::_invokespecial; }
   bool is_invokedynamic() const                  { return adjusted_invoke_code() == Bytecodes::_invokedynamic; }
 
+  bool has_receiver() const                      { return !is_invokestatic() && !is_invokedynamic(); }
   bool has_giant_index() const                   { return is_invokedynamic(); }
 
   bool is_valid() const                          { return is_invokeinterface() ||