Skip to content

Commit f576628

Browse files
lewurmshipilev
authored andcommittedNov 20, 2020
8256633: Fix product build on Windows+Arm64
Reviewed-by: shade
1 parent 8e7a855 commit f576628

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed
 

‎src/hotspot/cpu/aarch64/assembler_aarch64.hpp

+1-2
Original file line numberDiff line numberDiff line change
@@ -504,8 +504,7 @@ class Address {
504504
if (size == 0) // It's a byte
505505
i->f(_ext.shift() >= 0, 12);
506506
else {
507-
if (_ext.shift() > 0)
508-
assert(_ext.shift() == (int)size, "bad shift");
507+
assert(_ext.shift() <= 0 || _ext.shift() == (int)size, "bad shift");
509508
i->f(_ext.shift() > 0, 12);
510509
}
511510
i->f(0b10, 11, 10);

0 commit comments

Comments
 (0)
Please sign in to comment.