equal
deleted
inserted
replaced
475 } |
475 } |
476 |
476 |
477 // ------------------------------------------------------------------ |
477 // ------------------------------------------------------------------ |
478 // ciBytecodeStream::get_resolved_references |
478 // ciBytecodeStream::get_resolved_references |
479 ciObjArray* ciBytecodeStream::get_resolved_references() { |
479 ciObjArray* ciBytecodeStream::get_resolved_references() { |
480 VM_ENTRY_MARK; |
480 VM_ENTRY_MARK; |
481 objArrayOop resolved_references = _holder->get_instanceKlass()->resolved_references(); |
481 // Get the constant pool. |
|
482 ConstantPool* cpool = _holder->get_instanceKlass()->constants(); |
|
483 |
482 // Create a resolved references array and return it. |
484 // Create a resolved references array and return it. |
483 return CURRENT_ENV->get_object(resolved_references)->as_obj_array(); |
485 return CURRENT_ENV->get_object(cpool->resolved_references())->as_obj_array(); |
484 } |
486 } |