changeset 54793:f4c8f88c665e

8223645: AArch64 build broken by fix for 8223136 Reviewed-by: stefank
author aph
date Thu, 09 May 2019 12:52:05 -0400
parents 77e95181b5d6
children 019b3db480f4
files src/hotspot/cpu/aarch64/compiledIC_aot_aarch64.cpp src/hotspot/cpu/aarch64/macroAssembler_aarch64.hpp
diffstat 2 files changed, 6 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/src/hotspot/cpu/aarch64/compiledIC_aot_aarch64.cpp	Thu May 09 07:33:28 2019 -0700
+++ b/src/hotspot/cpu/aarch64/compiledIC_aot_aarch64.cpp	Thu May 09 12:52:05 2019 -0400
@@ -25,6 +25,7 @@
 #include "aot/compiledIC_aot.hpp"
 #include "code/codeCache.hpp"
 #include "memory/resourceArea.hpp"
+#include "memory/universe.hpp"
 
 void CompiledDirectStaticCall::set_to_far(const methodHandle& callee, address entry) {
   if (TraceICs) {
--- a/src/hotspot/cpu/aarch64/macroAssembler_aarch64.hpp	Thu May 09 07:33:28 2019 -0700
+++ b/src/hotspot/cpu/aarch64/macroAssembler_aarch64.hpp	Thu May 09 12:52:05 2019 -0400
@@ -27,6 +27,7 @@
 #define CPU_AARCH64_MACROASSEMBLER_AARCH64_HPP
 
 #include "asm/assembler.hpp"
+#include "oops/compressedOops.hpp"
 
 // MacroAssembler extends Assembler by frequently used macros.
 //
@@ -85,10 +86,10 @@
  public:
   MacroAssembler(CodeBuffer* code) : Assembler(code) {
     use_XOR_for_compressed_class_base
-      = (operand_valid_for_logical_immediate(false /*is32*/,
-                                             (uint64_t)Universe::narrow_klass_base())
-         && ((uint64_t)Universe::narrow_klass_base()
-             > (1UL << log2_intptr(Universe::narrow_klass_range()))));
+      = operand_valid_for_logical_immediate
+           (/*is32*/false, (uint64_t)CompressedKlassPointers::base())
+         && ((uint64_t)CompressedKlassPointers::base()
+             > (1UL << log2_intptr(CompressedKlassPointers::range())));
   }
 
  // These routines should emit JVMTI PopFrame and ForceEarlyReturn handling code.