equal
deleted
inserted
replaced
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); |