Lines Matching defs:roots
503 ReadOnlyRoots roots = GetReadOnlyRoots();
504 if (IsFunction()) return roots.Function_string();
505 if (IsJSArgumentsObject()) return roots.Arguments_string();
506 if (IsJSArray()) return roots.Array_string();
509 return roots.SharedArrayBuffer_string();
511 return roots.ArrayBuffer_string();
513 if (IsJSArrayIterator()) return roots.ArrayIterator_string();
514 if (IsJSDate()) return roots.Date_string();
515 if (IsJSError()) return roots.Error_string();
516 if (IsJSGeneratorObject()) return roots.Generator_string();
517 if (IsJSMap()) return roots.Map_string();
518 if (IsJSMapIterator()) return roots.MapIterator_string();
520 return map().is_callable() ? roots.Function_string()
521 : roots.Object_string();
523 if (IsJSRegExp()) return roots.RegExp_string();
524 if (IsJSSet()) return roots.Set_string();
525 if (IsJSSetIterator()) return roots.SetIterator_string();
529 return roots.Type##Array_string(); \
536 if (value.IsBoolean()) return roots.Boolean_string();
537 if (value.IsString()) return roots.String_string();
538 if (value.IsNumber()) return roots.Number_string();
539 if (value.IsBigInt()) return roots.BigInt_string();
540 if (value.IsSymbol()) return roots.Symbol_string();
541 if (value.IsScript()) return roots.Script_string();
544 if (IsJSWeakMap()) return roots.WeakMap_string();
545 if (IsJSWeakSet()) return roots.WeakSet_string();
546 if (IsJSGlobalProxy()) return roots.global_string();
548 return roots.Object_string();
760 ReadOnlyRoots roots = properties.GetReadOnlyRoots();
761 if (properties == roots.empty_fixed_array() ||
762 properties == roots.empty_property_array() ||
763 properties == roots.empty_property_dictionary() ||
764 properties == roots.empty_swiss_property_dictionary()) {
814 ReadOnlyRoots roots = object.GetReadOnlyRoots();
815 DCHECK(properties == roots.empty_fixed_array() ||
816 properties == roots.empty_property_dictionary() ||
817 properties == roots.empty_swiss_property_dictionary());
2664 ReadOnlyRoots roots(isolate);
2665 InternalIndex entry = dictionary->FindEntry(isolate, roots, name, hash);
2670 auto cell_type = value->IsUndefined(roots) ? PropertyCellType::kUndefined
3709 ReadOnlyRoots roots(isolate);
3715 if (!SwissNameDictionary::IsKey(roots, key)) {
3722 DCHECK(dictionary->IsKey(roots, dictionary->KeyAt(isolate, index)));
3790 if (!SwissNameDictionary::IsKey(roots, key_obj)) {
4009 ReadOnlyRoots roots,
4015 if (!dict.ToKey(roots, i, &key)) continue;
4190 Isolate* isolate, ReadOnlyRoots roots, Handle<Dictionary> dictionary,
4194 if (!dictionary->ToKey(roots, i, &k)) continue;
4209 Isolate* isolate, ReadOnlyRoots roots, Handle<NumberDictionary> dictionary,
4365 ReadOnlyRoots roots(isolate);
4370 JSObject::ApplyAttributesToDictionary(isolate, roots, dictionary,
4375 JSObject::ApplyAttributesToDictionary(isolate, roots, dictionary,
4380 JSObject::ApplyAttributesToDictionary(isolate, roots, dictionary,
4759 ReadOnlyRoots roots(isolate);
4765 if (!dict.ToKey(roots, index, &k)) continue;