equal
deleted
inserted
replaced
405 return NULL; |
405 return NULL; |
406 } |
406 } |
407 |
407 |
408 |
408 |
409 oop ConstantPoolCacheEntry::appendix_if_resolved(constantPoolHandle cpool) { |
409 oop ConstantPoolCacheEntry::appendix_if_resolved(constantPoolHandle cpool) { |
410 if (is_f1_null() || !has_appendix()) |
410 if (!has_appendix()) |
411 return NULL; |
411 return NULL; |
412 const int ref_index = f2_as_index() + _indy_resolved_references_appendix_offset; |
412 const int ref_index = f2_as_index() + _indy_resolved_references_appendix_offset; |
413 objArrayOop resolved_references = cpool->resolved_references(); |
413 objArrayOop resolved_references = cpool->resolved_references(); |
414 return resolved_references->obj_at(ref_index); |
414 return resolved_references->obj_at(ref_index); |
415 } |
415 } |
416 |
416 |
417 |
417 |
418 oop ConstantPoolCacheEntry::method_type_if_resolved(constantPoolHandle cpool) { |
418 oop ConstantPoolCacheEntry::method_type_if_resolved(constantPoolHandle cpool) { |
419 if (is_f1_null() || !has_method_type()) |
419 if (!has_method_type()) |
420 return NULL; |
420 return NULL; |
421 const int ref_index = f2_as_index() + _indy_resolved_references_method_type_offset; |
421 const int ref_index = f2_as_index() + _indy_resolved_references_method_type_offset; |
422 objArrayOop resolved_references = cpool->resolved_references(); |
422 objArrayOop resolved_references = cpool->resolved_references(); |
423 return resolved_references->obj_at(ref_index); |
423 return resolved_references->obj_at(ref_index); |
424 } |
424 } |