mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-21 11:34:38 +02:00
8298075: RISC-V: Implement post-call NOPs
Reviewed-by: fyang, luhenry
This commit is contained in:
parent
3aa4070d4c
commit
74f346b33f
6 changed files with 37 additions and 7 deletions
|
@ -387,6 +387,9 @@ class MacroAssembler: public Assembler {
|
|||
|
||||
static int patch_oop(address insn_addr, address o);
|
||||
|
||||
static address get_target_of_li32(address insn_addr);
|
||||
static int patch_imm_in_li32(address branch, int32_t target);
|
||||
|
||||
// Return whether code is emitted to a scratch blob.
|
||||
virtual bool in_scratch_emit_size() {
|
||||
return false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue