Lines Matching refs:subject
2005 // sp[8]: subject string
2020 Register subject = s0;
2076 __ lw(subject, MemOperand(sp, kSubjectOffset));
2077 __ JumpIfSmi(subject, &runtime);
2078 __ mov(a3, subject); // Make a copy of the original subject string.
2079 __ lw(a0, FieldMemOperand(subject, HeapObject::kMapOffset));
2081 // subject: subject string
2082 // a3: subject string
2083 // a0: subject string instance type
2085 // Handle subject string according to its encoding and representation:
2088 // (3) Cons string. If the string is flat, replace subject with first string.
2090 // (4) Is subject external? If yes, go to (7).
2100 // (9) Sliced string. Replace subject with parent. Go to (4).
2124 // Replace subject with first string and reload instance type.
2125 __ lw(a0, FieldMemOperand(subject, ConsString::kSecondOffset));
2128 __ lw(subject, FieldMemOperand(subject, ConsString::kFirstOffset));
2130 // (4) Is subject external? If yes, go to (7).
2132 __ lw(a0, FieldMemOperand(subject, HeapObject::kMapOffset));
2143 // subject: sequential subject string (or look-alike, external string)
2144 // a3: original subject string
2146 // use a3 instead of subject here because subject might have been only made
2171 // a3: encoding of subject string (1 if one_byte, 0 if two_byte);
2173 // subject: Subject string
2227 __ Addu(t2, subject, Operand(SeqString::kHeaderSize - kHeapObjectTag));
2229 // Load the length from the original subject string from the previous stack
2233 __ lw(subject, MemOperand(fp, kSubjectOffset + 2 * kPointerSize));
2243 __ lw(t2, FieldMemOperand(subject, String::kLengthOffset));
2250 // Argument 1 (a0): Subject string.
2251 __ mov(a0, subject);
2261 // subject: subject string (callee saved)
2320 // subject: subject string
2325 // Store last subject and last input.
2326 __ sw(subject,
2329 __ mov(a2, subject);
2332 subject,
2336 __ mov(subject, a2);
2337 __ sw(subject,
2342 subject,
2390 __ lw(a0, FieldMemOperand(subject, HeapObject::kMapOffset));
2401 __ lw(subject,
2402 FieldMemOperand(subject, ExternalString::kResourceDataOffset));
2405 __ Subu(subject,
2406 subject,
2416 // (9) Sliced string. Replace subject with parent. Go to (4).
2417 // Load offset into t0 and replace subject string with parent.
2418 __ lw(t0, FieldMemOperand(subject, SlicedString::kOffsetOffset));
2420 __ lw(subject, FieldMemOperand(subject, SlicedString::kParentOffset));
3051 // t1: underlying subject string
3052 // a1: instance type of underlying subject string
3080 // t1: underlying subject string
3081 // a1: instance type of underlying subject string
3100 // Locate first character of underlying subject string.