Lines Matching refs:index

936 base::Optional<ObjectRef> ContextRef::get(int index) const {
937 CHECK_LE(0, index);
939 if (index >= object()->length(kRelaxedLoad)) return {};
940 return TryMakeRef(broker(), object()->get(index));
1177 FeedbackCellRef FeedbackVectorRef::GetClosureFeedbackCell(int index) const {
1179 object()->closure_feedback_cell(index));
1187 FieldIndex index) const {
1188 CHECK(index.is_inobject());
1195 // If the map changed in some prior GC epoch, our {index} could be
1203 object()->RawInobjectPropertyAt(cage_base, current_map, index);
1261 uint32_t index) const {
1265 index);
1269 << *this << " at index " << index);
1305 base::Optional<uint16_t> StringRef::GetChar(int index) const {
1314 return object()->Get(index, broker()->local_isolate());
1318 return object()->Get(index);
1698 MapRef NativeContextRef::GetFunctionMapFromIndex(int index) const {
1699 DCHECK_GE(index, Context::FIRST_FUNCTION_MAP_INDEX);
1700 DCHECK_LE(index, Context::LAST_FUNCTION_MAP_INDEX);
1701 CHECK_LT(index, object()->length());
1703 broker(), Map::cast(object()->get(index, kAcquireLoad)));
1801 const FixedArrayBaseRef& elements_ref, uint32_t index,
1804 *elements_ref.object(), map().elements_kind(), index);
1810 dependencies->DependOnOwnConstantElement(*this, index, *result);
1816 FixedArrayBase elements, ElementsKind elements_kind, uint32_t index) const {
1817 DCHECK_LE(index, JSObject::kMaxElementIndex);
1838 if (index >= array_length) return {};
1844 elements, elements_kind, index);
1848 << *this << " at index " << index);
1859 Representation field_representation, FieldIndex index,
1862 broker(), *this, field_representation, index);
1865 *this, map(), field_representation, index, *result);
1871 InternalIndex index, CompilationDependencies* dependencies) const {
1872 CHECK(index.is_found());
1874 GetOwnDictionaryPropertyFromHeap(broker(), object(), index);
1876 dependencies->DependOnOwnConstantDictionaryProperty(*this, index, *result);
1895 FixedArrayBaseRef elements_ref, uint32_t index) const {
1925 length_ref->AsSmi(), index);