src/hotspot/cpu/aarch64/c1_Runtime1_aarch64.cpp
changeset 51374 7be0084191ed
parent 51224 dd1aa4229fd4
child 51756 4bd35a5ec694
--- a/src/hotspot/cpu/aarch64/c1_Runtime1_aarch64.cpp	Fri Aug 10 17:07:44 2018 +0800
+++ b/src/hotspot/cpu/aarch64/c1_Runtime1_aarch64.cpp	Fri Aug 10 14:22:49 2018 +0300
@@ -712,7 +712,7 @@
           {
             Label ok, not_ok;
             __ ldrw(obj_size, Address(klass, Klass::layout_helper_offset()));
-            __ cmp(obj_size, 0u);
+            __ cmp(obj_size, (u1)0);
             __ br(Assembler::LE, not_ok);  // make sure it's an instance (LH > 0)
             __ tstw(obj_size, Klass::_lh_instance_slow_path_bit);
             __ br(Assembler::EQ, ok);