Lines Matching defs:index

72       DCHECK_EQ(register_.index(), Register::current_context().index());
201 // TODO(leszeks): We could decouple deferred_ index and token to allow us
781 data->set(array_index++, Smi::FromInt(var->index()));
784 data->set(array_index++, Smi::FromInt(var->index()));
987 void PutImpl(SlotKind slot_kind, int index, const void* node,
989 Key key = std::make_tuple(slot_kind, index, node);
994 int GetImpl(SlotKind slot_kind, int index, const void* node) const {
995 Key key = std::make_tuple(slot_kind, index, node);
1549 Register destination(builder()->Local(variable->index()));
1555 Register destination(builder()->Parameter(variable->index()));
1566 variable->index(), 0);
1606 builder()->StoreContextSlot(execution_context()->reg(), variable->index(),
2340 Register index = register_allocator()->NewRegister();
2342 builder()->StoreAccumulatorInRegister(index);
2349 builder()->ForInContinue(index, cache_length);
2351 builder()->ForInNext(receiver, index, triple.Truncate(2),
2367 builder()->ForInStep(index);
2368 builder()->StoreAccumulatorInRegister(index);
2955 int index = feedback_spec()->AddCreateClosureSlot();
2957 builder()->CreateClosure(entry, index, flags);
3305 // Fill an array with values from an iterator, starting at a given index. It is
3315 // array[index++] = value
3318 IteratorRecord iterator, Register array, Register index, Register value,
3322 DCHECK(index.is_valid());
3342 // array[index] = value
3343 .StoreInArrayLiteral(array, index, feedback_index(element_slot))
3344 // index++
3345 .LoadAccumulatorWithRegister(index)
3347 .StoreAccumulatorInRegister(index);
3354 Register index = register_allocator()->NewRegister();
3370 // If there are remaning elements, prepare the index register that is
3371 // used for adding those elements. The next index is the length of the
3377 .StoreAccumulatorInRegister(index);
3432 // index, into the initial array (the remaining elements will be inserted
3444 .StoreAccumulatorInRegister(index);
3446 builder()->StoreInArrayLiteral(array, index,
3451 // If there are remaining elements, prepare the index register
3455 .StoreAccumulatorInRegister(index);
3478 BuildFillArrayWithIterator(iterator, array, index, value,
3482 // literal[index++] = subexpr
3485 ->StoreInArrayLiteral(array, index,
3487 .LoadAccumulatorWithRegister(index);
3488 // Only increase the index if we are not the last element.
3492 .StoreAccumulatorInRegister(index);
3495 // literal.length = ++index
3499 ->LoadAccumulatorWithRegister(index)
3501 .StoreAccumulatorInRegister(index)
3525 Register source(builder()->Local(variable->index()));
3540 source = builder()->Parameter(variable->index());
3580 builder()->LoadContextSlot(context_reg, variable->index(), depth,
3594 local_variable->index(), depth);
3617 builder()->LoadModuleVariable(variable->index(), depth);
3720 destination = builder()->Parameter(variable->index());
3723 destination = builder()->Local(variable->index());
3765 .LoadContextSlot(context_reg, variable->index(), depth,
3773 builder()->StoreContextSlot(context_reg, variable->index(), depth);
3802 .LoadModuleVariable(variable->index(), depth);
3806 builder()->StoreModuleVariable(variable->index(), depth);
4135 // var index = 0
4136 // %FillArrayWithIterator(iterator, array, index, done)
4269 // var index = 0;
4270 Register index = register_allocator()->NewRegister();
4272 builder()->StoreAccumulatorInRegister(index);
4282 BuildFillArrayWithIterator(iterator, array, index, next_result,
6867 execution_context()->reg(), variable->index(), 0);
6880 execution_context()->reg(), variable->index(), 0);
6958 DCHECK_EQ(incoming_new_target_or_generator_.index(),
6959 GetRegisterForLocalVariable(variable).index());
6989 DCHECK_EQ(generator_object().index(),
6990 GetRegisterForLocalVariable(generator_object_var).index());
7023 NaryOperation* node, size_t index) {
7027 index);
7188 return builder()->Local(variable->index());
7256 feedback_slot_cache()->Get(slot_kind, proxy->var()->index(), name));
7261 feedback_slot_cache()->Put(slot_kind, proxy->var()->index(), name,
7296 feedback_slot_cache()->Get(slot_kind, proxy->var()->index(), name));
7301 feedback_slot_cache()->Put(slot_kind, proxy->var()->index(), name,
7309 int index = feedback_slot_cache()->Get(slot_kind, literal);
7310 if (index != -1) {
7311 return index;
7313 index = feedback_spec()->AddCreateClosureSlot();
7314 feedback_slot_cache()->Put(slot_kind, literal, index);
7315 return index;