int ciBytecodeStream::get_constant_index() const {
  switch(code()) {
    case Bytecodes::_ldc   : return get_index();
    case Bytecodes::_ldc_w : // fall through
    case Bytecodes::_ldc2_w: return get_index_big();
  }
  ShouldNotReachHere();
  return 0;
}
示例#2
0
 // Get 2-byte index (or 4-byte, for invokedynamic)
 int get_index_int() const {
   return has_giant_index() ? get_index_giant() : get_index_big();
 }
int ciBytecodeStream::get_method_index() const {
  return get_index_big();
}
int ciBytecodeStream::get_klass_index() const {
  return get_index_big();
}