8219486: Missing reg_mask_init() breaks x86_32 build
Reviewed-by: vlivanov, dlong
--- 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();)
}