Lines Matching refs:regexp
56 #include "src/regexp/jsregexp.h"
2482 accumulator->Add("<JS RegExp>");
16592 Handle<JSRegExp> regexp =
16595 return JSRegExp::Initialize(regexp, pattern, flags);
16600 Handle<JSRegExp> JSRegExp::Copy(Handle<JSRegExp> regexp) {
16601 Isolate* const isolate = regexp->GetIsolate();
16602 return Handle<JSRegExp>::cast(isolate->factory()->CopyJSObject(regexp));
16674 MaybeHandle<JSRegExp> JSRegExp::Initialize(Handle<JSRegExp> regexp,
16686 return Initialize(regexp, source, flags);
16691 MaybeHandle<JSRegExp> JSRegExp::Initialize(Handle<JSRegExp> regexp,
16693 Isolate* isolate = regexp->GetIsolate();
16703 RETURN_ON_EXCEPTION(isolate, RegExpImpl::Compile(regexp, source, flags),
16706 regexp->set_source(*escaped_source);
16707 regexp->set_flags(Smi::FromInt(flags));
16709 Map* map = regexp->map();
16714 regexp->InObjectPropertyAtPut(JSRegExp::kLastIndexFieldIndex, Smi::kZero,
16719 regexp, factory->lastIndex_string(),
16724 return regexp;
16747 // Plain hash maps, which is where regexp keys are used, don't