Remove unused HandleScope from CheckPatternSyntaxImpl
Categories
(Core :: JavaScript Engine, task, P1)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox105 | --- | fixed |
People
(Reporter: arai, Assigned: arai)
References
Details
Attachments
(1 file, 3 obsolete files)
|
48 bytes,
text/x-phabricator-request
|
Details |
Frontend uses irregexp only to check the syntax, by irregexp::CheckPatternSyntax,
and most part of irregexp::Isolate is unnecessary.
To decouple JSContext from frontend, check-pattern-specific part of irregexp::Isolate needs to be factored out.
| Assignee | ||
Comment 1•3 years ago
|
||
CheckPatternSyntaxImpl shouldn't allocate any GC things, and
HandleScope shouldn't be necessary.
Depends on D153555
| Assignee | ||
Comment 2•3 years ago
|
||
js::irregexp::ParseIsolate is base class which provides feature necessary for
CheckPatternSyntax.
This class definition is exposed to make it possible to be allocated on stack.
v8::internal::Isolate provides all methods, delegating to v8::internal::RuntimeIsolate for most of them.
v8::internal::RuntimeIsolate is previous v8::internal::Isolate that provides everything.
Isolate backed by ParseIsolate can be used only in CheckPatternSyntax.
Isolate backed by RuntimeIsolate can be used for all cases.
Depends on D153704
| Assignee | ||
Comment 3•3 years ago
|
||
Depends on D153706
| Assignee | ||
Comment 4•3 years ago
|
||
Depends on D153707
Updated•3 years ago
|
Updated•3 years ago
|
Updated•3 years ago
|
| Assignee | ||
Comment 5•3 years ago
|
||
Most part gets resolved by bug 1779849
Updated•3 years ago
|
Description
•