src/hotspot/share/opto/type.cpp
changeset 52441 6082c529aed8
parent 51078 fc6cfe40e32a
child 52925 9c18c9d839d3
equal deleted inserted replaced
52440:f6583d7cff56 52441:6082c529aed8
  2958   if (Compile::current()->eliminate_boxing() && (t == InstPtr) &&
  2958   if (Compile::current()->eliminate_boxing() && (t == InstPtr) &&
  2959       (offset > 0) && xk && (k != 0) && k->is_instance_klass()) {
  2959       (offset > 0) && xk && (k != 0) && k->is_instance_klass()) {
  2960     _is_ptr_to_boxed_value = k->as_instance_klass()->is_boxed_value_offset(offset);
  2960     _is_ptr_to_boxed_value = k->as_instance_klass()->is_boxed_value_offset(offset);
  2961   }
  2961   }
  2962 #ifdef _LP64
  2962 #ifdef _LP64
  2963   if (_offset != 0) {
  2963   if (_offset > 0 || _offset == Type::OffsetTop || _offset == Type::OffsetBot) {
  2964     if (_offset == oopDesc::klass_offset_in_bytes()) {
  2964     if (_offset == oopDesc::klass_offset_in_bytes()) {
  2965       _is_ptr_to_narrowklass = UseCompressedClassPointers;
  2965       _is_ptr_to_narrowklass = UseCompressedClassPointers;
  2966     } else if (klass() == NULL) {
  2966     } else if (klass() == NULL) {
  2967       // Array with unknown body type
  2967       // Array with unknown body type
  2968       assert(this->isa_aryptr(), "only arrays without klass");
  2968       assert(this->isa_aryptr(), "only arrays without klass");