src/hotspot/share/oops/fieldInfo.hpp
changeset 59056 15936b142f86
parent 53244 9807daeb47c4
equal deleted inserted replaced
59055:57ad70bcf06c 59056:15936b142f86
   174 
   174 
   175   bool is_offset_set() const {
   175   bool is_offset_set() const {
   176     return (_shorts[low_packed_offset] & FIELDINFO_TAG_MASK) == FIELDINFO_TAG_OFFSET;
   176     return (_shorts[low_packed_offset] & FIELDINFO_TAG_MASK) == FIELDINFO_TAG_OFFSET;
   177   }
   177   }
   178 
   178 
   179   Symbol* name(const constantPoolHandle& cp) const {
   179   Symbol* name(ConstantPool* cp) const {
   180     int index = name_index();
   180     int index = name_index();
   181     if (is_internal()) {
   181     if (is_internal()) {
   182       return lookup_symbol(index);
   182       return lookup_symbol(index);
   183     }
   183     }
   184     return cp->symbol_at(index);
   184     return cp->symbol_at(index);
   185   }
   185   }
   186 
   186 
   187   Symbol* signature(const constantPoolHandle& cp) const {
   187   Symbol* signature(ConstantPool* cp) const {
   188     int index = signature_index();
   188     int index = signature_index();
   189     if (is_internal()) {
   189     if (is_internal()) {
   190       return lookup_symbol(index);
   190       return lookup_symbol(index);
   191     }
   191     }
   192     return cp->symbol_at(index);
   192     return cp->symbol_at(index);