Skip to content
This repository has been archived by the owner on Feb 2, 2023. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
8256633: Fix product build on Windows+Arm64
Backport-of: f57662874afe03250050b88ced07eb480484802b
  • Loading branch information
Vladimir Kempik committed Apr 27, 2021
1 parent 981267e commit 9b0ba2a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/hotspot/cpu/aarch64/assembler_aarch64.hpp
Expand Up @@ -476,8 +476,7 @@ class Address {
if (size == 0) // It's a byte
i->f(_ext.shift() >= 0, 12);
else {
if (_ext.shift() > 0)
assert(_ext.shift() == (int)size, "bad shift");
assert(_ext.shift() <= 0 || _ext.shift() == (int)size, "bad shift");
i->f(_ext.shift() > 0, 12);
}
i->f(0b10, 11, 10);
Expand Down

1 comment on commit 9b0ba2a

@openjdk-notifier
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.