Lines Matching defs:isolate

9 #include "src/execution/isolate-inl.h"
60 static Handle<FixedArray> CombineKeys(Isolate* isolate,
72 Handle<DescriptorArray> descs(map.instance_descriptors(isolate), isolate);
74 Handle<FixedArray> combined_keys = isolate->factory()->NewFixedArray(
84 return FixedArray::ShrinkOrEmpty(isolate, combined_keys, target_keys_length);
93 Isolate* isolate = object->GetIsolate();
94 FastKeyAccumulator accumulator(isolate, object, mode, filter, is_for_in,
105 OrderedHashSet::ConvertToKeysArray(isolate(), keys(), convert);
148 OrderedHashSet::Add(isolate(), keys(), key);
191 Isolate* isolate = accumulator->isolate();
194 Handle<Name> key(Name::cast(keys->get(i)), isolate);
203 JSProxy::GetOwnPropertyDescriptor(isolate, owner, key, &desc);
217 return FixedArray::ShrinkOrEmpty(isolate, keys, store_position);
298 shadowing_keys_ = ObjectHashSet::Add(isolate(), shadowing_keys_, key);
362 Handle<FixedArray> ReduceFixedArrayTo(Isolate* isolate,
366 return isolate->factory()->CopyFixedArrayUpTo(array, length);
371 Handle<FixedArray> GetFastEnumPropertyKeys(Isolate* isolate,
373 Handle<Map> map(object->map(), isolate);
375 map->instance_descriptors(isolate).enum_cache().keys(), isolate);
384 isolate->counters()->enum_cache_hits()->Increment();
385 return ReduceFixedArrayTo(isolate, keys, enum_length);
395 isolate->counters()->enum_cache_hits()->Increment();
396 return ReduceFixedArrayTo(isolate, keys, enum_length);
400 Handle<DescriptorArray>(map->instance_descriptors(isolate), isolate);
401 isolate->counters()->enum_cache_misses()->Increment();
406 keys = isolate->factory()->NewFixedArray(enum_length);
420 Handle<FixedArray> indices = isolate->factory()->empty_fixed_array();
422 indices = isolate->factory()->NewFixedArray(enum_length);
439 DescriptorArray::InitializeOrChangeEnumCache(descriptors, isolate, keys,
447 MaybeHandle<FixedArray> GetOwnKeysWithElements(Isolate* isolate,
454 keys = GetFastEnumPropertyKeys(isolate, object);
457 keys = KeyAccumulator::GetOwnEnumPropertyKeys(isolate, object);
804 void CommonCopyEnumKeysTo(Isolate* isolate, Handle<Dictionary> dictionary,
810 ReadOnlyRoots roots(isolate);
852 void CopyEnumKeysTo(Isolate* isolate, Handle<Dictionary> dictionary,
857 CommonCopyEnumKeysTo<Dictionary>(isolate, dictionary, storage, mode,
877 void CopyEnumKeysTo(Isolate* isolate, Handle<SwissNameDictionary> dictionary,
880 CommonCopyEnumKeysTo<SwissNameDictionary>(isolate, dictionary, storage, mode,
890 Handle<FixedArray> GetOwnEnumPropertyDictionaryKeys(Isolate* isolate,
895 Handle<T> dictionary(raw_dictionary, isolate);
897 return isolate->factory()->empty_fixed_array();
900 Handle<FixedArray> storage = isolate->factory()->NewFixedArray(length);
901 CopyEnumKeysTo(isolate, dictionary, storage, mode, accumulator);
910 Isolate* isolate = keys->isolate();
911 ReadOnlyRoots roots(isolate);
914 isolate->factory()->NewFixedArray(dictionary->NumberOfElements());
1019 ->GetExport(isolate(), key)
1148 Isolate* isolate, Handle<JSObject> object) {
1150 return GetFastEnumPropertyKeys(isolate, object);
1153 isolate, KeyCollectionMode::kOwnOnly, nullptr, object,
1157 isolate, KeyCollectionMode::kOwnOnly, nullptr, object,
1161 isolate, KeyCollectionMode::kOwnOnly, nullptr, object,
1170 explicit NameComparator(Isolate* isolate) : isolate_(isolate) {}