Home | History | Annotate | Download | only in src

Lines Matching defs:cache

297   // Don't cache prototype transition if this map is either shared, or a map of
306 Handle<FixedArray> cache(GetPrototypeTransitions(*map));
307 int capacity = cache->length() - header;
308 int transitions = NumberOfPrototypeTransitions(*cache) + 1;
312 if (!CompactPrototypeTransitionArray(*cache)) {
314 cache = GrowPrototypeTransitionArray(cache, 2 * transitions,
316 SetPrototypeTransitions(map, cache);
321 int last = NumberOfPrototypeTransitions(*cache);
324 cache->set(entry, *target_cell);
325 SetNumberOfPrototypeTransitions(*cache, last + 1);
333 FixedArray* cache = GetPrototypeTransitions(*map);
334 int number_of_transitions = NumberOfPrototypeTransitions(cache);
337 WeakCell::cast(cache->get(kProtoTransitionHeaderSize + i));