Skip to content

Commit

Permalink
8345159: RISCV: Fix -Wzero-as-null-pointer-constant warning in emit_s…
Browse files Browse the repository at this point in the history
…tatic_call_stub

Reviewed-by: mli, rehn
  • Loading branch information
Kim Barrett committed Dec 6, 2024
1 parent 8403285 commit 2286fae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hotspot/cpu/riscv/macroAssembler_riscv.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -785,7 +785,7 @@ void MacroAssembler::emit_static_call_stub() {

// Jump to the entry point of the c2i stub.
int32_t offset = 0;
movptr(t1, 0, offset, t0); // lui + lui + slli + add
movptr2(t1, 0, offset, t0); // lui + lui + slli + add
jr(t1, offset);
}

Expand Down

0 comments on commit 2286fae

Please sign in to comment.