8219486: Missing reg_mask_init() breaks x86_32 build
authorrkennke
Thu, 21 Feb 2019 09:48:07 +0100
changeset 53868 1bd7233074c1
parent 53867 87ef165e7bcd
child 53869 34906de6c017
8219486: Missing reg_mask_init() breaks x86_32 build Reviewed-by: vlivanov, dlong
src/hotspot/cpu/x86/c2_init_x86.cpp
--- a/src/hotspot/cpu/x86/c2_init_x86.cpp	Wed Feb 20 17:29:30 2019 +0100
+++ b/src/hotspot/cpu/x86/c2_init_x86.cpp	Thu Feb 21 09:48:07 2019 +0100
@@ -29,7 +29,7 @@
 
 // processor dependent initialization for i486
 
-extern void reg_mask_init();
+LP64_ONLY(extern void reg_mask_init();)
 
 void Compile::pd_compiler2_init() {
   guarantee(CodeEntryAlignment >= InteriorEntryAlignment, "" );
@@ -60,5 +60,5 @@
       OptoReg::invalidate(i);
     }
   }
-  reg_mask_init();
+  LP64_ONLY(reg_mask_init();)
 }