Skip to content

Commit 033ecd4

Browse files
committed
Removed relocate for post call nops
1 parent 8f2dcb6 commit 033ecd4

1 file changed

Lines changed: 3 additions & 5 deletions

File tree

src/hotspot/cpu/riscv/macroAssembler_riscv.cpp

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -360,11 +360,9 @@ void MacroAssembler::post_call_nop() {
360360
if (!Continuations::enabled()) {
361361
return;
362362
}
363-
relocate(post_call_nop_Relocation::spec(), [&] {
364-
InlineSkippedInstructionsCounter skipCounter(this);
365-
nop();
366-
li32(zr, 0);
367-
});
363+
InlineSkippedInstructionsCounter skipCounter(this);
364+
nop();
365+
li32(zr, 0);
368366
}
369367

370368
// these are no-ops overridden by InterpreterMacroAssembler

0 commit comments

Comments
 (0)