Skip to content

Commit 80a2777

Browse files
committed
8282372: [11] build issue on MacOS/aarch64 12.2.1 using Xcode 13.1: call to 'log2_intptr' is ambiguous
Reviewed-by: clanger
1 parent 68c6320 commit 80a2777

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/hotspot/cpu/aarch64/macroAssembler_aarch64.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ class MacroAssembler: public Assembler {
8989
= (operand_valid_for_logical_immediate(false /*is32*/,
9090
(uint64_t)Universe::narrow_klass_base())
9191
&& ((uint64_t)Universe::narrow_klass_base()
92-
> (1ULL << log2_intptr(Universe::narrow_klass_range()))));
92+
> (1ULL << log2_intptr(checked_cast<uintptr_t>(Universe::narrow_klass_range())))));
9393
}
9494

9595
// These routines should emit JVMTI PopFrame and ForceEarlyReturn handling code.

0 commit comments

Comments
 (0)