Lines Matching refs:recv
38 V8_INLINE bool HasInitialRegExpMap(Isolate* isolate, Handle<JSReceiver> recv) { in HasInitialRegExpMap() argument
39 return recv->map() == isolate->regexp_function()->initial_map(); in HasInitialRegExpMap()
45 Handle<JSReceiver> recv, in SetLastIndex() argument
47 if (HasInitialRegExpMap(isolate, recv)) { in SetLastIndex()
48 JSRegExp::cast(*recv)->SetLastIndex(value); in SetLastIndex()
49 return recv; in SetLastIndex()
51 return Object::SetProperty(recv, isolate->factory()->lastIndex_string(), in SetLastIndex()
57 Handle<JSReceiver> recv) { in GetLastIndex() argument
58 if (HasInitialRegExpMap(isolate, recv)) { in GetLastIndex()
59 return handle(JSRegExp::cast(*recv)->LastIndex(), isolate); in GetLastIndex()
61 return Object::GetProperty(recv, isolate->factory()->lastIndex_string()); in GetLastIndex()
143 JSReceiver* recv = JSReceiver::cast(*obj); in IsUnmodifiedRegExp() local
147 if (recv->map() != regexp_function->initial_map()) return false; in IsUnmodifiedRegExp()
150 Object* proto = recv->map()->prototype(); in IsUnmodifiedRegExp()