Skip to content

Commit

Permalink
8295711: Rename ZBarrierSetAssembler::load_at parameter name from "tm…
Browse files Browse the repository at this point in the history
…p_thread" to "tmp2"

Reviewed-by: fjiang, haosun, tschatzl, eosterlund
  • Loading branch information
RealFYang committed Nov 15, 2022
1 parent 2f7dc5c commit 93d6b1f
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions src/hotspot/cpu/aarch64/gc/z/zBarrierSetAssembler_aarch64.cpp
Expand Up @@ -57,10 +57,10 @@ void ZBarrierSetAssembler::load_at(MacroAssembler* masm,
Register dst,
Address src,
Register tmp1,
Register tmp_thread) {
Register tmp2) {
if (!ZBarrierSet::barrier_needed(decorators, type)) {
// Barrier not needed
BarrierSetAssembler::load_at(masm, decorators, type, dst, src, tmp1, tmp_thread);
BarrierSetAssembler::load_at(masm, decorators, type, dst, src, tmp1, tmp2);
return;
}

Expand Down
Expand Up @@ -50,7 +50,7 @@ class ZBarrierSetAssembler : public ZBarrierSetAssemblerBase {
Register dst,
Address src,
Register tmp1,
Register tmp_thread);
Register tmp2);

#ifdef ASSERT
virtual void store_at(MacroAssembler* masm,
Expand Down
4 changes: 2 additions & 2 deletions src/hotspot/cpu/riscv/gc/z/zBarrierSetAssembler_riscv.cpp
Expand Up @@ -59,10 +59,10 @@ void ZBarrierSetAssembler::load_at(MacroAssembler* masm,
Register dst,
Address src,
Register tmp1,
Register tmp_thread) {
Register tmp2) {
if (!ZBarrierSet::barrier_needed(decorators, type)) {
// Barrier not needed
BarrierSetAssembler::load_at(masm, decorators, type, dst, src, tmp1, tmp_thread);
BarrierSetAssembler::load_at(masm, decorators, type, dst, src, tmp1, tmp2);
return;
}

Expand Down
2 changes: 1 addition & 1 deletion src/hotspot/cpu/riscv/gc/z/zBarrierSetAssembler_riscv.hpp
Expand Up @@ -52,7 +52,7 @@ class ZBarrierSetAssembler : public ZBarrierSetAssemblerBase {
Register dst,
Address src,
Register tmp1,
Register tmp_thread);
Register tmp2);

#ifdef ASSERT
virtual void store_at(MacroAssembler* masm,
Expand Down

1 comment on commit 93d6b1f

@openjdk-notifier
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.