Lines Matching refs:slot
258 FeedbackSlot slot(iterator.Next());
259 os << "{feedback={vector_index=" << literal_index << ", slot=" << slot
272 TranslatedValue slot(container, kCapturedObject);
273 slot.materialization_info_ = {object_index, length};
274 return slot;
280 TranslatedValue slot(container, kDuplicatedObject);
281 slot.materialization_info_ = {id, -1};
282 return slot;
288 TranslatedValue slot(container, kFloat);
289 slot.float_value_ = value;
290 return slot;
296 TranslatedValue slot(container, kDouble);
297 slot.double_value_ = value;
298 return slot;
304 TranslatedValue slot(container, kInt32);
305 slot.int32_value_ = value;
306 return slot;
312 TranslatedValue slot(container, kInt64);
313 slot.int64_value_ = value;
314 return slot;
320 TranslatedValue slot(container, kInt64ToBigInt);
321 slot.int64_value_ = value;
322 return slot;
328 TranslatedValue slot(container, kUInt32);
329 slot.uint32_value_ = value;
330 return slot;
336 TranslatedValue slot(container, kBoolBit);
337 slot.uint32_value_ = value;
338 return slot;
344 TranslatedValue slot(container, kTagged);
345 slot.raw_literal_ = literal;
346 return slot;
1399 Handle<HeapObject> TranslatedState::InitializeObjectAt(TranslatedValue* slot) {
1402 slot = ResolveCapturedObject(slot);
1403 if (slot->materialization_state() != TranslatedValue::kFinished) {
1405 worklist.push(slot->object_index());
1406 slot->mark_finished();
1414 return slot->storage();
1425 TranslatedValue* slot = &(frame->values_[value_index]);
1428 CHECK_EQ(TranslatedValue::kFinished, slot->materialization_state());
1429 CHECK_EQ(TranslatedValue::kCapturedObject, slot->kind());
1433 for (int i = 0; i < slot->GetChildrenCount(); i++) {
1486 InitializeObjectWithTaggedFieldsAt(frame, &value_index, slot, map, no_gc);
1491 InitializeJSObjectAt(frame, &value_index, slot, map, no_gc);
1497 void TranslatedState::EnsureObjectAllocatedAt(TranslatedValue* slot) {
1498 slot = ResolveCapturedObject(slot);
1500 if (slot->materialization_state() == TranslatedValue::kUninitialized) {
1502 worklist.push(slot->object_index());
1503 slot->mark_allocated();
1521 TranslatedValue* slot,
1540 slot->set_storage(array);
1545 TranslatedValue* slot) {
1552 slot->set_storage(box);
1567 TranslatedValue* slot = &(frame->values_[*value_index]);
1571 if (slot->kind() == TranslatedValue::kCapturedObject) {
1572 slots_to_skip += slot->GetChildrenCount();
1584 TranslatedValue* slot = &(frame->values_[value_index]);
1587 CHECK_EQ(TranslatedValue::kAllocated, slot->materialization_state());
1588 CHECK_EQ(TranslatedValue::kCapturedObject, slot->kind());
1603 return MaterializeFixedDoubleArray(frame, &value_index, slot, map);
1608 return MaterializeHeapNumber(frame, &value_index, slot);
1632 CHECK_EQ(instance_size, slot->GetChildrenCount() * kTaggedSize);
1637 slot->set_storage(isolate()->factory()->empty_fixed_array());
1639 slot->set_storage(AllocateStorageFor(slot));
1643 return EnsureChildrenAllocated(slot->GetChildrenCount() - 1, frame,
1651 CHECK_EQ(args_size, slot->GetChildrenCount() * kTaggedSize);
1653 slot->set_storage(AllocateStorageFor(slot));
1656 return EnsureChildrenAllocated(slot->GetChildrenCount() - 1, frame,
1665 CHECK_EQ(instance_size, slot->GetChildrenCount() * kTaggedSize);
1667 slot->set_storage(AllocateStorageFor(slot));
1670 return EnsureChildrenAllocated(slot->GetChildrenCount() - 1, frame,
1675 EnsureJSObjectAllocated(slot, map);
1676 int remaining_children_count = slot->GetChildrenCount() - 1;
1781 Handle<ByteArray> TranslatedState::AllocateStorageFor(TranslatedValue* slot) {
1783 ByteArray::LengthFor(slot->GetChildrenCount() * kTaggedSize);
1794 void TranslatedState::EnsureJSObjectAllocated(TranslatedValue* slot,
1797 CHECK_EQ(map->instance_size(), slot->GetChildrenCount() * kTaggedSize);
1799 Handle<ByteArray> object_storage = AllocateStorageFor(slot);
1815 slot->set_storage(object_storage);
1820 TranslatedValue* slot = frame->ValueAt(value_index);
1821 if (slot->kind() == TranslatedValue::kDuplicatedObject) {
1822 slot = ResolveCapturedObject(slot);
1824 CHECK_NE(slot->materialization_state(), TranslatedValue::kUninitialized);
1825 return slot;
1830 TranslatedValue* slot = GetResolvedSlot(frame, *value_index);
1832 return slot;
1837 TranslatedValue* slot = GetResolvedSlot(frame, *value_index);
1839 return slot->GetValue();
1843 TranslatedFrame* frame, int* value_index, TranslatedValue* slot,
1845 Handle<HeapObject> object_storage = Handle<HeapObject>::cast(slot->storage_);
1846 DCHECK_EQ(TranslatedValue::kCapturedObject, slot->kind());
1847 int children_count = slot->GetChildrenCount();
1868 slot = GetResolvedSlotAndAdvance(frame, value_index);
1875 Handle<HeapObject> field_value = slot->storage();
1880 Handle<Object> field_value = slot->GetValue();
1891 TranslatedFrame* frame, int* value_index, TranslatedValue* slot,
1893 Handle<HeapObject> object_storage = Handle<HeapObject>::cast(slot->storage_);
1894 int children_count = slot->GetChildrenCount();
1909 slot = GetResolvedSlotAndAdvance(frame, value_index);
1914 field_value = slot->storage();
1917 field_value = slot->GetValue();
1928 TranslatedValue* TranslatedState::ResolveCapturedObject(TranslatedValue* slot) {
1929 while (slot->kind() == TranslatedValue::kDuplicatedObject) {
1930 slot = GetValueByObjectIndex(slot->object_index());
1932 CHECK_EQ(TranslatedValue::kCapturedObject, slot->kind());
1933 return slot;
2099 TranslatedValue* slot = GetValueByObjectIndex(i);
2100 if (slot->kind() == TranslatedValue::kCapturedObject) {
2101 CHECK_EQ(slot, GetValueByObjectIndex(slot->object_index()));
2102 if (slot->materialization_state() == TranslatedValue::kFinished) {
2103 slot->storage()->ObjectVerify(isolate());
2105 CHECK_EQ(slot->materialization_state(),
2132 PrintF(trace_file, " reading FeedbackVector (slot %d)\n",