Closed Bug 1805622 Opened 1 year ago Closed 1 year ago

Remove JSContext from Parser

Categories

(Core :: JavaScript Engine, task, P1)

task

Tracking

()

RESOLVED FIXED
111 Branch
Tracking Status
firefox111 --- fixed

People

(Reporter: arai, Assigned: arai)

References

Details

Attachments

(12 files)

48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review

In the same way as bug 1804837 and bug 1805141.
JSContext* const cx_; field should be removed from Parser.

Depends on: 1805645
Depends on: 1806366
Attachment #9311008 - Attachment description: Bug 1805622 - Part 7: Use js_new in Parser. r?bthrall! → Bug 1805622 - Part 7: Use FrontendAllocator::new_ in Parser. r?bthrall!

There are some r+ patches which didn't land and no activity in this bug for 2 weeks.
:arai, could you have a look please?
If you still have some work to do, you can add an action "Plan Changes" in Phabricator.
For more information, please visit auto_nag documentation.

Flags: needinfo?(bthrall)
Flags: needinfo?(arai.unmht)
Flags: needinfo?(bthrall)
Flags: needinfo?(arai.unmht)
Pushed by arai_a@mac.com:
https://hg.mozilla.org/integration/autoland/rev/f2dbf6868ea1
Part 1: Remove unused forward declarations and includes. r=bthrall
https://hg.mozilla.org/integration/autoland/rev/20e7d4cf1629
Part 2: Do not use JSContext* in StringBuffer in Parser. r=bthrall
https://hg.mozilla.org/integration/autoland/rev/87cc7d44ce7e
Part 3: Add FrontendContext variant of DuplicateString and use it in ScriptSource. r=bthrall
https://hg.mozilla.org/integration/autoland/rev/c0d221ee5d0c
Part 4: Use maybeCurrentJSContext in ScriptSource::setDisplayURL. r=bthrall
https://hg.mozilla.org/integration/autoland/rev/832bfa520a9d
Part 5: Remove JSContext* parameter from ScriptSource::set* methods. r=bthrall
https://hg.mozilla.org/integration/autoland/rev/2b1b9d123eec
Part 6: Use FrontendContext::hadErrors in Parser. r=bthrall
https://hg.mozilla.org/integration/autoland/rev/4496b81f4e33
Part 7: Use FrontendAllocator::new_ in Parser. r=bthrall
https://hg.mozilla.org/integration/autoland/rev/43bb19928205
Part 8: Remove unused JSContext* parameter. r=bthrall
https://hg.mozilla.org/integration/autoland/rev/8c11839bc010
Part 9: Remove JSContext* parameter from CompileAsmJS. r=bthrall
https://hg.mozilla.org/integration/autoland/rev/4ae107d0e4bf
Part 10: Use CompilationState.parserAllocScope for RegExp parsing. r=bthrall
https://hg.mozilla.org/integration/autoland/rev/c4b89f4346e1
Part 11: Use maybeCurrentJSContext in liftParserAtomToJSAtom. r=bthrall
https://hg.mozilla.org/integration/autoland/rev/76e857bc64b7
Part 12: Remove ParserBase::cx_. r=bthrall
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: