mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-22 03:54:33 +02:00
8295258: Add BasicType argument to AccessInternal::decorator_fixup
Reviewed-by: stefank, eosterlund
This commit is contained in:
parent
1c2a093988
commit
085f96cb1a
9 changed files with 19 additions and 17 deletions
|
@ -1993,7 +1993,7 @@ void MacroAssembler::access_load_at(BasicType type, DecoratorSet decorators,
|
|||
Register dst, Address src,
|
||||
Register tmp1, Register tmp2) {
|
||||
BarrierSetAssembler *bs = BarrierSet::barrier_set()->barrier_set_assembler();
|
||||
decorators = AccessInternal::decorator_fixup(decorators);
|
||||
decorators = AccessInternal::decorator_fixup(decorators, type);
|
||||
bool as_raw = (decorators & AS_RAW) != 0;
|
||||
if (as_raw) {
|
||||
bs->BarrierSetAssembler::load_at(this, decorators, type, dst, src, tmp1, tmp2);
|
||||
|
@ -2018,7 +2018,7 @@ void MacroAssembler::access_store_at(BasicType type, DecoratorSet decorators,
|
|||
Address dst, Register val,
|
||||
Register tmp1, Register tmp2, Register tmp3) {
|
||||
BarrierSetAssembler *bs = BarrierSet::barrier_set()->barrier_set_assembler();
|
||||
decorators = AccessInternal::decorator_fixup(decorators);
|
||||
decorators = AccessInternal::decorator_fixup(decorators, type);
|
||||
bool as_raw = (decorators & AS_RAW) != 0;
|
||||
if (as_raw) {
|
||||
bs->BarrierSetAssembler::store_at(this, decorators, type, dst, val, tmp1, tmp2, tmp3);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue