Home
last modified time | relevance | path

Searched refs:kReservedIndexCount (Results 1 – 5 of 5) sorted by relevance

/external/v8/src/
Dtype-feedback-vector-inl.h38 DCHECK(length() > kReservedIndexCount); in slot_count()
59 DCHECK(length() > kReservedIndexCount); in is_empty()
66 DCHECK(length() > kReservedIndexCount); in slot_count()
67 return length() - kReservedIndexCount; in slot_count()
86 return kReservedIndexCount + slot.ToInt(); in GetIndex()
93 DCHECK(index >= kReservedIndexCount && index < length()); in ToSlot()
94 return FeedbackVectorSlot(index - kReservedIndexCount); in ToSlot()
Dtype-feedback-vector.cc30 int index = VectorICComputer::index(kReservedIndexCount, slot.ToInt()); in GetKind()
38 int index = VectorICComputer::index(kReservedIndexCount, slot.ToInt()); in SetKind()
57 const int length = slot_kinds_length + kReservedIndexCount; in New()
58 if (length == kReservedIndexCount) { in New()
78 array->set(kReservedIndexCount + i, Smi::FromInt(0)); in New()
136 const int length = slot_count + kReservedIndexCount; in New()
137 if (length == kReservedIndexCount) { in New()
147 for (int i = kReservedIndexCount; i < length; i++) { in New()
158 return kReservedIndexCount + slot.ToInt(); in GetIndexFromSpec()
Dtype-feedback-vector.h132 static const int kReservedIndexCount = 1; variable
185 static const int kReservedIndexCount = 1; variable
/external/v8/test/cctest/
Dtest-feedback-vector.cc79 CHECK_EQ(TypeFeedbackVector::kReservedIndexCount, index); in TEST()
83 CHECK_EQ(TypeFeedbackVector::kReservedIndexCount + 3, index); in TEST()
87 CHECK_EQ(TypeFeedbackVector::kReservedIndexCount + 3 + in TEST()
93 CHECK_EQ(TypeFeedbackVector::kReservedIndexCount + 3 + in TEST()
/external/v8/src/compiler/
Dbytecode-graph-builder.cc472 if (slot_id >= TypeFeedbackVector::kReservedIndexCount) { in CreateVectorSlotPair()