Print this page
rev 1082 : [mq]: indy.compiler.patch

Split Close
Expand all
Collapse all
          --- old/src/share/vm/ci/ciStreams.hpp
          +++ new/src/share/vm/ci/ciStreams.hpp
↓ open down ↓ 224 lines elided ↑ open up ↑
 225  225    ciInstanceKlass* get_declared_field_holder();
 226  226    int      get_field_holder_index();
 227  227    int      get_field_signature_index();
 228  228  
 229  229    // If this is a method invocation bytecode, get the invoked method.
 230  230    ciMethod* get_method(bool& will_link);
 231  231    ciKlass*  get_declared_method_holder();
 232  232    int       get_method_holder_index();
 233  233    int       get_method_signature_index();
 234  234  
      235 +  ciCPCache* get_cpcache();
      236 +
 235  237   private:
 236  238    void assert_index_size(int required_size) const {
 237  239  #ifdef ASSERT
 238  240      int isize = instruction_size() - (is_wide() ? 1 : 0) - 1;
 239  241      if (isize == 2 &&  cur_bc() == Bytecodes::_iinc)
 240  242        isize = 1;
 241  243      else if (isize <= 2)
 242  244        ;                         // no change
 243  245      else if (has_giant_index())
 244  246        isize = 4;
↓ open down ↓ 147 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX