Home | History | Annotate | Download | only in src

Lines Matching defs:string

219     map->RemoveFromCodeCache(String::cast(name), target, index);
291 Failure* IC::ReferenceError(const char* type, Handle<String> name) {
419 Handle<String> name,
487 // And only wrap string, number or boolean.
502 Handle<String> name) {
604 String* string = String::cast(*object);
605 // Check there's the right string value or wrapper in the receiver slot.
606 ASSERT(string == args[0] || string == JSValue::cast(args[0])->value());
612 if (index < 0 || index >= string->length()) {
632 Handle<String> name) {
686 Handle<String> name) {
761 Handle<String>::cast(key));
804 Handle<String> name) {
813 // string wrapper objects. The length property of string wrapper
815 // the underlying string value. See ECMA-262 15.5.5.1.
833 if (FLAG_trace_ic) PrintF("[LoadIC : +#length /string]\n");
836 // Get the string if we have a string wrapper object.
837 Handle<Object> string = object->IsJSValue()
840 return Smi::FromInt(String::cast(*string)->length());
930 Handle<String> name) {
1070 Handle<String> name = Handle<String>::cast(key);
1084 Handle<String> string = Handle<String>::cast(object);
1086 isolate()->stub_cache()->ComputeKeyedLoadStringLength(name, string);
1090 return Smi::FromInt(string->length());
1197 Handle<String> name) {
1279 Handle<String> name,
1299 Handle<String> name,
1314 // The length property of string values is read-only. Throw in strict mode.
1394 Handle<String> name,
1765 Handle<String> name = Handle<String>::cast(key);
1842 Handle<String> name,
1928 args.at<String>(1));
1972 return ic.Load(state, args.at<Object>(0), args.at<String>(1));
2005 args.at<String>(1),
2198 case STRING: return "Strings";
2214 case STRING:
2229 if (x == BOTH_STRING && y == STRING) return STRING;
2230 if (x == STRING && y == BOTH_STRING) return STRING;
2231 if (x == STRING || x == BOTH_STRING || y == STRING || y == BOTH_STRING) {
2260 // Patching for fast string ADD makes sense even if only one of the
2261 // arguments is a string.
2263 return right_type.IsString() ? BOTH_STRING : STRING;
2265 return STRING;
2341 if ((type == BinaryOpIC::STRING || type == BinaryOpIC::BOTH_STRING) &&