changeset 55049:1bd7233074c1

8219486: Missing reg_mask_init() breaks x86_32 build Reviewed-by: vlivanov, dlong
author rkennke
date Thu, 21 Feb 2019 09:48:07 +0100
parents 87ef165e7bcd
children 34906de6c017
files src/hotspot/cpu/x86/c2_init_x86.cpp
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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();)
 }