< prev index next >
src/hotspot/cpu/aarch64/c1_Runtime1_aarch64.cpp
Print this page
@@ -707,11 +707,11 @@
#ifdef ASSERT
// assert object can be fast path allocated
{
Label ok, not_ok;
__ ldrw(obj_size, Address(klass, Klass::layout_helper_offset()));
- __ cmp(obj_size, 0u);
+ __ cmp(obj_size, (unsigned char)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);
__ bind(not_ok);
__ stop("assert(can be fast path allocated)");
< prev index next >