8298075: RISC-V: Implement post-call NOPs

Reviewed-by: fyang, luhenry
This commit is contained in:
Xiaolin Zheng 2022-12-08 02:19:35 +00:00 committed by Fei Yang
parent 3aa4070d4c
commit 74f346b33f
6 changed files with 37 additions and 7 deletions

View file

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