Lines Matching refs:scratch
237 Register scratch = r7; in KeyedStoreGenerateMegamorphicHelper() local
240 scratch, address)); in KeyedStoreGenerateMegamorphicHelper()
244 __ mov(scratch, Operand(masm->isolate()->factory()->fixed_array_map())); in KeyedStoreGenerateMegamorphicHelper()
245 __ cmp(elements_map, scratch); in KeyedStoreGenerateMegamorphicHelper()
254 __ SmiToPtrArrayOffset(scratch, key); in KeyedStoreGenerateMegamorphicHelper()
255 __ LoadPX(scratch, MemOperand(address, scratch)); in KeyedStoreGenerateMegamorphicHelper()
256 __ Cmpi(scratch, Operand(masm->isolate()->factory()->the_hole_value()), r0); in KeyedStoreGenerateMegamorphicHelper()
258 __ JumpIfDictionaryInPrototypeChain(receiver, elements_map, scratch, slow); in KeyedStoreGenerateMegamorphicHelper()
268 __ AddSmiLiteral(scratch, key, Smi::FromInt(1), r0); in KeyedStoreGenerateMegamorphicHelper()
269 __ StoreP(scratch, FieldMemOperand(receiver, JSArray::kLengthOffset), r0); in KeyedStoreGenerateMegamorphicHelper()
273 __ SmiToPtrArrayOffset(scratch, key); in KeyedStoreGenerateMegamorphicHelper()
274 __ StorePX(value, MemOperand(address, scratch)); in KeyedStoreGenerateMegamorphicHelper()
279 __ CheckFastObjectElements(receiver_map, scratch, &transition_smi_elements); in KeyedStoreGenerateMegamorphicHelper()
285 __ AddSmiLiteral(scratch, key, Smi::FromInt(1), r0); in KeyedStoreGenerateMegamorphicHelper()
286 __ StoreP(scratch, FieldMemOperand(receiver, JSArray::kLengthOffset), r0); in KeyedStoreGenerateMegamorphicHelper()
289 __ SmiToPtrArrayOffset(scratch, key); in KeyedStoreGenerateMegamorphicHelper()
290 __ StorePUX(value, MemOperand(address, scratch)); in KeyedStoreGenerateMegamorphicHelper()
292 __ mr(scratch, value); // Preserve the value which is returned. in KeyedStoreGenerateMegamorphicHelper()
293 __ RecordWrite(elements, address, scratch, kLRHasNotBeenSaved, in KeyedStoreGenerateMegamorphicHelper()
311 __ SmiToDoubleArrayOffset(scratch, key); in KeyedStoreGenerateMegamorphicHelper()
312 __ lwzx(scratch, MemOperand(address, scratch)); in KeyedStoreGenerateMegamorphicHelper()
313 __ Cmpi(scratch, Operand(kHoleNanUpper32), r0); in KeyedStoreGenerateMegamorphicHelper()
315 __ JumpIfDictionaryInPrototypeChain(receiver, elements_map, scratch, slow); in KeyedStoreGenerateMegamorphicHelper()
318 __ StoreNumberToDoubleElements(value, key, elements, scratch, d0, in KeyedStoreGenerateMegamorphicHelper()
322 __ AddSmiLiteral(scratch, key, Smi::FromInt(1), r0); in KeyedStoreGenerateMegamorphicHelper()
323 __ StoreP(scratch, FieldMemOperand(receiver, JSArray::kLengthOffset), r0); in KeyedStoreGenerateMegamorphicHelper()
329 __ LoadP(scratch, FieldMemOperand(value, HeapObject::kMapOffset)); in KeyedStoreGenerateMegamorphicHelper()
330 __ CompareRoot(scratch, Heap::kHeapNumberMapRootIndex); in KeyedStoreGenerateMegamorphicHelper()
336 FAST_SMI_ELEMENTS, FAST_DOUBLE_ELEMENTS, receiver_map, scratch, slow); in KeyedStoreGenerateMegamorphicHelper()
347 receiver_map, scratch, slow); in KeyedStoreGenerateMegamorphicHelper()
359 receiver_map, scratch, slow); in KeyedStoreGenerateMegamorphicHelper()