Home
last modified time | relevance | path

Searched refs:number_of_transitions (Results 1 – 7 of 7) sorted by relevance

/external/v8/src/
Dtransitions.cc116 int number_of_transitions = 0; in Insert() local
128 number_of_transitions = array->number_of_transitions(); in Insert()
129 new_nof = number_of_transitions; in Insert()
144 DCHECK(insertion_index >= 0 && insertion_index <= number_of_transitions); in Insert()
149 for (index = number_of_transitions; index > insertion_index; --index) { in Insert()
163 Map::SlackForArraySize(number_of_transitions, kMaxNumberOfTransitions)); in Insert()
171 if (array->number_of_transitions() != number_of_transitions) { in Insert()
172 DCHECK(array->number_of_transitions() < number_of_transitions); in Insert()
174 number_of_transitions = array->number_of_transitions(); in Insert()
175 new_nof = number_of_transitions; in Insert()
[all …]
Dtransitions-inl.h39 DCHECK(transition_number < number_of_transitions()); in GetKeySlot()
59 DCHECK(transition_number < number_of_transitions()); in GetKey()
80 DCHECK(transition_number < number_of_transitions()); in SetKey()
86 DCHECK(transition_number < number_of_transitions()); in GetTargetSlot()
107 DCHECK(transition_number < number_of_transitions()); in GetRawTarget()
131 DCHECK(transition_number < number_of_transitions()); in SetRawTarget()
154 int TransitionArray::number_of_transitions() const { in number_of_transitions() function
207 void TransitionArray::SetNumberOfTransitions(int number_of_transitions) { in SetNumberOfTransitions() argument
208 DCHECK(number_of_transitions <= Capacity()); in SetNumberOfTransitions()
211 MaybeObject::FromSmi(Smi::FromInt(number_of_transitions))); in SetNumberOfTransitions()
Dtransitions.h231 inline int number_of_entries() const { return number_of_transitions(); } in number_of_entries()
272 inline void SetNumberOfTransitions(int number_of_transitions);
295 static int LengthFor(int number_of_transitions) { in LengthFor() argument
296 return ToKeyIndex(number_of_transitions); in LengthFor()
313 inline int number_of_transitions() const;
Dobjects-debug.cc731 CHECK_LE(LengthFor(number_of_transitions()), length()); in TransitionArrayVerify()
2057 for (int i = 0; i < number_of_transitions(); i++) { in IsSortedNoDuplicates()
Dobjects-printer.cc2343 int num_transitions = number_of_transitions(); in PrintInternal()
/external/v8/src/heap/
Dfactory.h470 Handle<TransitionArray> NewTransitionArray(int number_of_transitions,
Dfactory.cc1777 Handle<TransitionArray> Factory::NewTransitionArray(int number_of_transitions, in NewTransitionArray() argument
1779 int capacity = TransitionArray::LengthFor(number_of_transitions + slack); in NewTransitionArray()
1792 MaybeObject::FromObject(Smi::FromInt(number_of_transitions))); in NewTransitionArray()