mirror of
https://github.com/openjdk/jdk.git
synced 2026-02-10 10:28:37 +00:00
8345159: RISCV: Fix -Wzero-as-null-pointer-constant warning in emit_static_call_stub
Reviewed-by: mli, rehn
This commit is contained in:
parent
84032850db
commit
2286fae300
@ -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);
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user