8349166: Bad indentation in backport of JDK-8250825

Reviewed-by: andrew
This commit is contained in:
SendaoYan 2025-02-20 10:56:46 +00:00 committed by Andrew John Hughes
parent fc88d51510
commit f5e9a25f32

View File

@ -2560,7 +2560,7 @@ TypeOopPtr::TypeOopPtr(TYPES t, PTR ptr, ciKlass* k, bool xk, ciObject* o, int o
if (field != NULL) {
BasicType basic_elem_type = field->layout_type();
_is_ptr_to_narrowoop = UseCompressedOops && (basic_elem_type == T_OBJECT ||
basic_elem_type == T_ARRAY);
basic_elem_type == T_ARRAY);
} else {
// unsafe access
_is_ptr_to_narrowoop = UseCompressedOops;