hotspot/src/cpu/x86/vm/assembler_x86.hpp
changeset 36837 6b51996ab299
parent 36561 b18243f4d955
child 37293 c010188d360f
--- a/hotspot/src/cpu/x86/vm/assembler_x86.hpp	Tue Mar 29 13:43:28 2016 +0200
+++ b/hotspot/src/cpu/x86/vm/assembler_x86.hpp	Tue Mar 29 09:53:50 2016 -0700
@@ -605,6 +605,7 @@
   bool _legacy_mode_dq;
   bool _legacy_mode_vl;
   bool _legacy_mode_vlbw;
+  bool _is_managed;
 
   class InstructionAttr *_attributes;
 
@@ -811,12 +812,17 @@
     _legacy_mode_dq = (VM_Version::supports_avx512dq() == false);
     _legacy_mode_vl = (VM_Version::supports_avx512vl() == false);
     _legacy_mode_vlbw = (VM_Version::supports_avx512vlbw() == false);
+    _is_managed = false;
     _attributes = NULL;
   }
 
   void set_attributes(InstructionAttr *attributes) { _attributes = attributes; }
   void clear_attributes(void) { _attributes = NULL; }
 
+  void set_managed(void) { _is_managed = true; }
+  void clear_managed(void) { _is_managed = false; }
+  bool is_managed(void) { return _is_managed; }
+
   void lea(Register dst, Address src);
 
   void mov(Register dst, Register src);