8345159: RISCV: Fix -Wzero-as-null-pointer-constant warning in emit_static_call_stub

Reviewed-by: mli, rehn
This commit is contained in:
Kim Barrett 2024-12-06 06:32:03 +00:00
parent 84032850db
commit 2286fae300

View File

@ -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);
}