diff a/src/hotspot/cpu/riscv/c1_MacroAssembler_riscv.cpp b/src/hotspot/cpu/riscv/c1_MacroAssembler_riscv.cpp --- a/src/hotspot/cpu/riscv/c1_MacroAssembler_riscv.cpp +++ b/src/hotspot/cpu/riscv/c1_MacroAssembler_riscv.cpp @@ -241,11 +241,14 @@ } verify_oop(obj); } -void C1_MacroAssembler::build_frame(int framesize, int bang_size_in_bytes) { +void C1_MacroAssembler::build_frame(int framesize, int bang_size_in_bytes, + int sp_offset_for_orig_pc, + bool needs_stack_repair, bool has_scalarized_args, + Label* verified_inline_entry_label) { assert(bang_size_in_bytes >= framesize, "stack bang size incorrect"); // Make sure there is enough stack space for this method's activation. // Note that we do this before creating a frame. generate_stack_overflow_check(bang_size_in_bytes); MacroAssembler::build_frame(framesize); @@ -253,15 +256,10 @@ // Insert nmethod entry barrier into frame. BarrierSetAssembler* bs = BarrierSet::barrier_set()->barrier_set_assembler(); bs->nmethod_entry_barrier(this, nullptr /* slow_path */, nullptr /* continuation */, nullptr /* guard */); } -void C1_MacroAssembler::remove_frame(int framesize) { - MacroAssembler::remove_frame(framesize); -} - - void C1_MacroAssembler::verified_entry(bool breakAtEntry) { // If we have to make this method not-entrant we'll overwrite its // first instruction with a jump. For this action to be legal we // must ensure that this first instruction is a J, JAL or NOP. // Make it a NOP. @@ -371,5 +369,10 @@ assert(cmpFlag >= 0 && cmpFlag < (int)(sizeof(c1_float_cond_branch) / sizeof(c1_float_cond_branch[0])), "invalid c1 float conditional branch index"); (this->*c1_float_cond_branch[cmpFlag])(op1, op2, label, is_far, is_unordered); } + +int C1_MacroAssembler::scalarized_entry(const CompiledEntrySignature* ces, int frame_size_in_bytes, int bang_size_in_bytes, int sp_offset_for_orig_pc, Label& verified_inline_entry_label, bool is_inline_ro_entry) { + Unimplemented(); +} +