src/hotspot/cpu/ppc/nativeInst_ppc.hpp
changeset 58932 8623f75be895
parent 53244 9807daeb47c4
--- a/src/hotspot/cpu/ppc/nativeInst_ppc.hpp	Thu Oct 31 17:16:36 2019 +0100
+++ b/src/hotspot/cpu/ppc/nativeInst_ppc.hpp	Tue Nov 05 11:53:46 2019 +0100
@@ -462,6 +462,8 @@
 
   address instruction_address() const { return addr_at(0); }
 
+  int num_bytes_to_end_of_patch() const { return instruction_size; }
+
   intptr_t offset() const {
 #ifdef VM_LITTLE_ENDIAN
     short *hi_ptr = (short*)(addr_at(0));