6403 {
6404#if defined(DART_PRECOMPILER)
6405 if (FLAG_print_array_optimization_candidates) {
6406 intptr_t array_count = objects_.
length();
6407 intptr_t array_count_allsmi = 0;
6408 intptr_t array_count_allro = 0;
6409 intptr_t array_count_empty = 0;
6410 intptr_t element_count = 0;
6411 intptr_t element_count_allsmi = 0;
6412 intptr_t element_count_allro = 0;
6413 for (intptr_t
i = 0;
i < array_count;
i++) {
6414 ArrayPtr array = objects_[
i];
6415 bool allsmi = true;
6416 bool allro = true;
6419 ObjectPtr element = array->untag()->element(
i);
6420 intptr_t
cid = element->GetClassIdMayBeSmi();
6421 if (!IsReadOnlyCid(
cid)) allro =
false;
6422 if (
cid != kSmiCid) allsmi =
false;
6423 }
6426 array_count_empty++;
6427 } else if (allsmi) {
6428 array_count_allsmi++;
6429 element_count_allsmi +=
length;
6430 } else if (allro) {
6431 array_count_allro++;
6432 element_count_allro +=
length;
6433 }
6434 }
6437 element_count);
6439 array_count_allsmi, element_count_allsmi);
6441 element_count_allro);
6443 }
6444#endif
6445
6448 for (intptr_t
i = 0;
i <
count;
i++) {
6449 ArrayPtr array = objects_[
i];
6450 s->AssignRef(array);
6455 }
6456 }
#define AutoTraceObject(obj)
static void static void PrintErr(const char *format,...) PRINTF_ATTRIBUTE(1
intptr_t target_memory_size_
static word InstanceSize()