From 55f23fea5c285ef1c8cd2d34f4f1ac5329076824 Mon Sep 17 00:00:00 2001 From: Roman Kennke Date: Thu, 21 Feb 2019 09:48:07 +0100 Subject: [PATCH] 8219486: Missing reg_mask_init() breaks x86_32 build Reviewed-by: vlivanov, dlong --- src/hotspot/cpu/x86/c2_init_x86.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/hotspot/cpu/x86/c2_init_x86.cpp b/src/hotspot/cpu/x86/c2_init_x86.cpp index 81f1e4e50c3..3cf187bceb6 100644 --- a/src/hotspot/cpu/x86/c2_init_x86.cpp +++ b/src/hotspot/cpu/x86/c2_init_x86.cpp @@ -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 @@ void Compile::pd_compiler2_init() { OptoReg::invalidate(i); } } - reg_mask_init(); + LP64_ONLY(reg_mask_init();) }