Skip to content

Commit

Permalink
Use IncompressibleRegion
Browse files Browse the repository at this point in the history
  • Loading branch information
robehn committed Apr 12, 2024
1 parent ece7d43 commit a8d709a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/hotspot/cpu/riscv/macroAssembler_riscv.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -922,6 +922,8 @@ void MacroAssembler::li(Register Rd, int64_t imm) {
} \
void MacroAssembler::NAME(Register Rd, Label &L, Register temp) { \
assert_different_registers(Rd, temp); \
/* We can't patch C, i.e. if Label wasn't bound we need to patch this jump.*/ \
IncompressibleRegion ir(this); \
wrap_label(Rd, L, temp, &MacroAssembler::NAME); \
}

Expand Down

0 comments on commit a8d709a

Please sign in to comment.