mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 14:54:52 +02:00
8202713: Create a MacroAssembler::access_load/store_at wrapper for S390 and PPC
Reviewed-by: eosterlund, goetz
This commit is contained in:
parent
85383c76ee
commit
3db5fa7043
24 changed files with 197 additions and 169 deletions
|
@ -391,8 +391,7 @@ void InterpreterMacroAssembler::load_resolved_reference_at_index(Register result
|
|||
bind(index_ok);
|
||||
#endif
|
||||
z_agr(result, index); // Address of indexed array element.
|
||||
BarrierSetAssembler *bs = BarrierSet::barrier_set()->barrier_set_assembler();
|
||||
bs->load_at(this, IN_HEAP, T_OBJECT, Address(result, arrayOopDesc::base_offset_in_bytes(T_OBJECT)), result, tmp, noreg);
|
||||
load_heap_oop(result, Address(result, arrayOopDesc::base_offset_in_bytes(T_OBJECT)), tmp, noreg);
|
||||
}
|
||||
|
||||
// load cpool->resolved_klass_at(index)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue