8288078: linux-aarch64-optimized build fails in Tier5 after JDK-8287567

Reviewed-by: adinn, thartmann
This commit is contained in:
Andrew Haley 2022-06-09 14:13:05 +00:00
parent 7e948f7ccb
commit db4405d0f8

View File

@ -549,14 +549,14 @@ void NativePostCallNop::make_deopt() {
NativeDeoptInstruction::insert(addr_at(0)); NativeDeoptInstruction::insert(addr_at(0));
} }
#ifndef PRODUCT #ifdef ASSERT
static bool is_movk_to_zr(uint32_t insn) { static bool is_movk_to_zr(uint32_t insn) {
return ((insn & 0xffe0001f) == 0xf280001f); return ((insn & 0xffe0001f) == 0xf280001f);
} }
#endif #endif
void NativePostCallNop::patch(jint diff) { void NativePostCallNop::patch(jint diff) {
#ifndef PRODUCT #ifdef ASSERT
assert(diff != 0, "must be"); assert(diff != 0, "must be");
uint32_t insn1 = uint_at(4); uint32_t insn1 = uint_at(4);
uint32_t insn2 = uint_at(8); uint32_t insn2 = uint_at(8);