Lines Matching full:scratch
85 Register name, Register scratch, Register extra,
100 DCHECK(!scratch.is(receiver));
101 DCHECK(!scratch.is(name));
103 // Check scratch register is valid, extra and extra2 are unused.
104 DCHECK(!scratch.is(no_reg));
109 // If vector-based ics are in use, ensure that scratch doesn't conflict with
116 DCHECK(!AreAliased(vector, slot, scratch));
121 DCHECK(!AreAliased(vector, slot, scratch));
133 __ movl(scratch, FieldOperand(name, Name::kHashFieldOffset));
135 __ addl(scratch, FieldOperand(receiver, HeapObject::kMapOffset));
136 __ xorp(scratch, Immediate(flags));
139 __ andp(scratch, Immediate((kPrimaryTableSize - 1) << kCacheIndexShift));
142 ProbeTable(isolate, masm, ic_kind, flags, kPrimary, receiver, name, scratch);
145 __ movl(scratch, FieldOperand(name, Name::kHashFieldOffset));
146 __ addl(scratch, FieldOperand(receiver, HeapObject::kMapOffset));
147 __ xorp(scratch, Immediate(flags));
148 __ andp(scratch, Immediate((kPrimaryTableSize - 1) << kCacheIndexShift));
149 __ subl(scratch, name);
150 __ addl(scratch, Immediate(flags));
151 __ andp(scratch, Immediate((kSecondaryTableSize - 1) << kCacheIndexShift));
155 scratch);