diff --git a/src/hotspot/cpu/aarch64/nativeInst_aarch64.hpp b/src/hotspot/cpu/aarch64/nativeInst_aarch64.hpp index da8ae97887a..d40c533a82c 100644 --- a/src/hotspot/cpu/aarch64/nativeInst_aarch64.hpp +++ b/src/hotspot/cpu/aarch64/nativeInst_aarch64.hpp @@ -53,7 +53,7 @@ class NativeCall; class NativeInstruction { friend class Relocation; friend bool is_NativeCallTrampolineStub_at(address); - public: +public: enum { instruction_size = 4 }; @@ -62,12 +62,16 @@ class NativeInstruction { return uint_at(0); } - bool is_blr() const { return (encoding() & 0xff9ffc1f) == 0xd61f0000; } // blr(register) or br(register) - bool is_adr_aligned() const { return (encoding() & 0xff000000) == 0x10000000; } // adr Xn,