Lines Matching full:scratch
41 // The two scratch registers need to be different from elements, name and
51 // Main use of the scratch registers.
86 // The two scratch registers need to be different from elements, name and
96 // Main use of the scratch registers.
137 Register scratch,
144 __ lbu(scratch, FieldMemOperand(map, Map::kBitFieldOffset));
145 __ And(at, scratch,
153 __ lbu(scratch, FieldMemOperand(map, Map::kInstanceTypeOffset));
154 __ Branch(slow, lt, scratch, Operand(JS_OBJECT_TYPE));
177 // Scratch registers:
476 Register scratch = t0;
481 scratch, scratch2, scratch3, address));
496 __ lw(scratch, MemOperand(address));
497 __ Branch(&holecheck_passed1, ne, scratch,
499 __ JumpIfDictionaryInPrototypeChain(receiver, elements_map, scratch, slow);
509 __ Addu(scratch, key, Operand(Smi::FromInt(1)));
510 __ sw(scratch, FieldMemOperand(receiver, JSArray::kLengthOffset));
514 __ sll(scratch, key, kPointerSizeLog2 - kSmiTagSize);
515 __ Addu(address, address, scratch);
521 __ CheckFastObjectElements(receiver_map, scratch, &transition_smi_elements);
527 __ Addu(scratch, key, Operand(Smi::FromInt(1)));
528 __ sw(scratch, FieldMemOperand(receiver, JSArray::kLengthOffset));
531 __ sll(scratch, key, kPointerSizeLog2 - kSmiTagSize);
532 __ Addu(address, address, scratch);
535 __ mov(scratch, value); // Preserve the value which is returned.
536 __ RecordWrite(elements, address, scratch, kRAHasNotBeenSaved,
555 __ lw(scratch, MemOperand(address));
556 __ Branch(&fast_double_without_map_check, ne, scratch,
558 __ JumpIfDictionaryInPrototypeChain(receiver, elements_map, scratch, slow);
561 __ StoreNumberToDoubleElements(value, key, elements, scratch, scratch2,
565 __ Addu(scratch, key, Operand(Smi::FromInt(1)));
566 __ sw(scratch, FieldMemOperand(receiver, JSArray::kLengthOffset));
572 __ lw(scratch, FieldMemOperand(value, HeapObject::kMapOffset));
574 __ Branch(&non_double_value, ne, scratch, Operand(at));
579 FAST_SMI_ELEMENTS, FAST_DOUBLE_ELEMENTS, receiver_map, scratch, slow);
590 receiver_map, scratch, slow);
602 receiver_map, scratch, slow);
631 // t0 and t1 are used as general scratch registers.