@@ -849,10 +849,11 @@ if (iklass != NULL) { field = iklass->nonstatic_field_at(j); offset = field->offset(); elem_type = field->type(); basic_elem_type = field->layout_type(); + assert(basic_elem_type != T_VALUETYPE, "value type fields are flattened"); } else { offset = array_base + j * (intptr_t)element_size; } const Type *field_type;