Lines Matching refs:enum_length
293 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()
337 indices = isolate->factory()->NewFixedArray(enum_length); in GetFastEnumPropertyKeys()
355 if (map->OnlyHasSimpleProperties()) map->SetEnumLength(enum_length); in GetFastEnumPropertyKeys()
421 int enum_length = receiver_->map()->EnumLength(); in GetKeysFast() local
422 if (enum_length == kInvalidEnumCacheSentinel) { in GetKeysFast()