Lines Matching defs:index
48 int32_t FeedbackMetadata::get(int index) const {
49 DCHECK(index >= 0 && index < length());
50 int offset = kHeaderSize + index * kInt32Size;
54 void FeedbackMetadata::set(int index, int32_t value) {
55 DCHECK(index >= 0 && index < length());
56 int offset = kHeaderSize + index * kInt32Size;
102 Handle<FeedbackCell> ClosureFeedbackCellArray::GetFeedbackCell(int index) {
103 return handle(FeedbackCell::cast(get(index)), GetIsolate());
106 FeedbackCell ClosureFeedbackCellArray::cell(int index) {
107 return FeedbackCell::cast(get(index));
159 // Conversion from an integer index to either a slot or an ic slot.
161 FeedbackSlot FeedbackVector::ToSlot(intptr_t index) {
162 DCHECK_LE(static_cast<uintptr_t>(index),
164 return FeedbackSlot(static_cast<int>(index));
193 Handle<FeedbackCell> FeedbackVector::GetClosureFeedbackCell(int index) const {
194 DCHECK_GE(index, 0);
195 return closure_feedback_cell_array().GetFeedbackCell(index);
198 FeedbackCell FeedbackVector::closure_feedback_cell(int index) const {
199 DCHECK_GE(index, 0);
200 return closure_feedback_cell_array().cell(index);