Print this page
rev 1081 : imported patch indy-cleanup-6893081.patch

Split Close
Expand all
Collapse all
          --- old/src/share/vm/interpreter/bytecode.hpp
          +++ new/src/share/vm/interpreter/bytecode.hpp
↓ open down ↓ 202 lines elided ↑ open up ↑
 203  203    bool is_invokevirtual() const                  { return adjusted_invoke_code() == Bytecodes::_invokevirtual; }
 204  204    bool is_invokestatic() const                   { return adjusted_invoke_code() == Bytecodes::_invokestatic; }
 205  205    bool is_invokespecial() const                  { return adjusted_invoke_code() == Bytecodes::_invokespecial; }
 206  206    bool is_invokedynamic() const                  { return adjusted_invoke_code() == Bytecodes::_invokedynamic; }
 207  207  
 208  208    bool has_giant_index() const                   { return is_invokedynamic(); }
 209  209  
 210  210    bool is_valid() const                          { return is_invokeinterface() ||
 211  211                                                            is_invokevirtual()   ||
 212  212                                                            is_invokestatic()    ||
 213      -                                                          is_invokespecial();     }
      213 +                                                          is_invokespecial()   ||
      214 +                                                          is_invokedynamic(); }
 214  215  
 215  216    // Creation
 216  217    inline friend Bytecode_invoke* Bytecode_invoke_at(methodHandle method, int bci);
 217  218  
 218  219    // Like Bytecode_invoke_at. Instead it returns NULL if the bci is not at an invoke.
 219  220    inline friend Bytecode_invoke* Bytecode_invoke_at_check(methodHandle method, int bci);
 220  221  };
 221  222  
 222  223  inline Bytecode_invoke* Bytecode_invoke_at(methodHandle method, int bci) {
 223  224    Bytecode_invoke* b = new Bytecode_invoke(method, bci);
↓ open down ↓ 164 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX