Home
last modified time | relevance | path

Searched refs:enum_length (Results 1 – 2 of 2) sorted by relevance

/external/v8/src/
Dkeys.cc293 int enum_length = map->EnumLength(); in GetFastEnumPropertyKeys() local
294 if (enum_length != kInvalidEnumCacheSentinel) { in GetFastEnumPropertyKeys()
296 DCHECK_LE(enum_length, keys->length()); in GetFastEnumPropertyKeys()
297 DCHECK_EQ(enum_length, map->NumberOfEnumerableProperties()); in GetFastEnumPropertyKeys()
299 return ReduceFixedArrayTo(isolate, keys, enum_length); in GetFastEnumPropertyKeys()
303 enum_length = map->NumberOfEnumerableProperties(); in GetFastEnumPropertyKeys()
307 if (enum_length <= keys->length()) { in GetFastEnumPropertyKeys()
308 if (map->OnlyHasSimpleProperties()) map->SetEnumLength(enum_length); in GetFastEnumPropertyKeys()
310 return ReduceFixedArrayTo(isolate, keys, enum_length); in GetFastEnumPropertyKeys()
321 keys = isolate->factory()->NewFixedArray(enum_length); in GetFastEnumPropertyKeys()
[all …]
/external/v8/src/interpreter/
Dinterpreter-generator.cc2880 Node* enum_length = LoadMapEnumLength(enumerator); in IGNITION_HANDLER() local
2881 CSA_ASSERT(this, WordNotEqual(enum_length, in IGNITION_HANDLER()
2892 IntPtrLessThanOrEqual(enum_length, enum_indices_length), in IGNITION_HANDLER()
2899 Node* cache_length = SmiTag(enum_length); in IGNITION_HANDLER()