src/hotspot/cpu/s390/nativeInst_s390.hpp
changeset 58932 8623f75be895
parent 57583 aad50831e169
--- a/src/hotspot/cpu/s390/nativeInst_s390.hpp	Thu Oct 31 17:16:36 2019 +0100
+++ b/src/hotspot/cpu/s390/nativeInst_s390.hpp	Tue Nov 05 11:53:46 2019 +0100
@@ -535,6 +535,12 @@
 inline NativeMovRegMem* nativeMovRegMem_at (address address);
 class NativeMovRegMem: public NativeInstruction {
  public:
+  enum z_specific_constants {
+    instruction_size = 12 // load_const used with access_field_id
+  };
+
+  int num_bytes_to_end_of_patch() const { return instruction_size; }
+
   intptr_t offset() const {
     return nativeMovConstReg_at(addr_at(0))->data();
   }