Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files
8250824: AArch64: follow up for JDK-8248414
The original change missed to update an assert.

Co-authored-by: Ludovic Henry <luhenry@microsoft.com>
Co-authored-by: Bernhard Urban-Forster <beurba@microsoft.com>
Reviewed-by: dholmes
  • Loading branch information
3 people authored and David Holmes committed Aug 3, 2020
1 parent 995c35c commit 5a8c995a378e4a77420822bcde7fe1bcafd8383f
Showing 1 changed file with 1 addition and 1 deletion.
@@ -1507,7 +1507,7 @@ void MacroAssembler::movptr(Register r, uintptr_t imm64) {
block_comment(buffer);
}
#endif
assert(imm64 < (1ul << 48), "48-bit overflow in address constant");
assert(imm64 < (1ull << 48), "48-bit overflow in address constant");
movz(r, imm64 & 0xffff);
imm64 >>= 16;
movk(r, imm64 & 0xffff, 16);

0 comments on commit 5a8c995

Please sign in to comment.