src/hotspot/cpu/aarch64/nativeInst_aarch64.hpp
changeset 58932 8623f75be895
parent 53244 9807daeb47c4
--- a/src/hotspot/cpu/aarch64/nativeInst_aarch64.hpp	Thu Oct 31 17:16:36 2019 +0100
+++ b/src/hotspot/cpu/aarch64/nativeInst_aarch64.hpp	Tue Nov 05 11:53:46 2019 +0100
@@ -381,11 +381,11 @@
 
  public:
   // helper
-  int instruction_start() const;
+  int instruction_start() const { return instruction_offset; }
 
-  address instruction_address() const;
+  address instruction_address() const { return addr_at(instruction_offset); }
 
-  address next_instruction_address() const;
+  int num_bytes_to_end_of_patch() const { return instruction_offset + instruction_size; }
 
   int   offset() const;