hotspot/src/share/vm/interpreter/bytecode.hpp
changeset 4564 55dfb20908d0
parent 3261 c7d5aae8d3f7
child 4567 7fc02fbe5c7a
equal deleted inserted replaced
4563:973da517fcec 4564:55dfb20908d0
   208   bool has_giant_index() const                   { return is_invokedynamic(); }
   208   bool has_giant_index() const                   { return is_invokedynamic(); }
   209 
   209 
   210   bool is_valid() const                          { return is_invokeinterface() ||
   210   bool is_valid() const                          { return is_invokeinterface() ||
   211                                                           is_invokevirtual()   ||
   211                                                           is_invokevirtual()   ||
   212                                                           is_invokestatic()    ||
   212                                                           is_invokestatic()    ||
   213                                                           is_invokespecial();     }
   213                                                           is_invokespecial()   ||
       
   214                                                           is_invokedynamic(); }
   214 
   215 
   215   // Creation
   216   // Creation
   216   inline friend Bytecode_invoke* Bytecode_invoke_at(methodHandle method, int bci);
   217   inline friend Bytecode_invoke* Bytecode_invoke_at(methodHandle method, int bci);
   217 
   218 
   218   // Like Bytecode_invoke_at. Instead it returns NULL if the bci is not at an invoke.
   219   // Like Bytecode_invoke_at. Instead it returns NULL if the bci is not at an invoke.