Lines Matching defs:scratch
84 Register name, Register scratch, Register extra,
96 DCHECK(!scratch.is(receiver));
97 DCHECK(!scratch.is(name));
99 // Check scratch register is valid, extra and extra2 are unused.
100 DCHECK(!scratch.is(no_reg));
105 // If vector-based ics are in use, ensure that scratch doesn't conflict with
113 DCHECK(!AreAliased(vector, slot, scratch));
118 DCHECK(!AreAliased(vector, slot, scratch));
130 __ movl(scratch, FieldOperand(name, Name::kHashFieldOffset));
132 __ addl(scratch, FieldOperand(receiver, HeapObject::kMapOffset));
133 __ xorp(scratch, Immediate(flags));
136 __ andp(scratch, Immediate((kPrimaryTableSize - 1) << kCacheIndexShift));
139 ProbeTable(isolate, masm, flags, kPrimary, receiver, name, scratch);
142 __ movl(scratch, FieldOperand(name, Name::kHashFieldOffset));
143 __ addl(scratch, FieldOperand(receiver, HeapObject::kMapOffset));
144 __ xorp(scratch, Immediate(flags));
145 __ andp(scratch, Immediate((kPrimaryTableSize - 1) << kCacheIndexShift));
146 __ subl(scratch, name);
147 __ addl(scratch, Immediate(flags));
148 __ andp(scratch, Immediate((kSecondaryTableSize - 1) << kCacheIndexShift));
151 ProbeTable(isolate, masm, flags, kSecondary, receiver, name, scratch);