Remove BinAST prototype
Categories
(Core :: JavaScript Engine, task, P2)
Tracking
()
Tracking | Status | |
---|---|---|
firefox79 | --- | fixed |
People
(Reporter: tcampbell, Assigned: tcampbell)
References
Details
Attachments
(6 files, 2 obsolete files)
47 bytes,
text/x-phabricator-request
|
Details | Review | |
47 bytes,
text/x-phabricator-request
|
Details | Review | |
47 bytes,
text/x-phabricator-request
|
Details | Review | |
47 bytes,
text/x-phabricator-request
|
Details | Review | |
47 bytes,
text/x-phabricator-request
|
Details | Review | |
119 bytes,
text/plain
|
arai
:
review+
|
Details |
The BinAST code in tree is a prototype that is not practical to ship in its current form and interferes with ongoing work. Until the ongoing SmooshMonkey and Stencil work ships, we should remove the BinAST prototype from tree to avoid wasting time maintaining an intermediate form.
Any future BinAST work will likely be based on the upcoming SmooshMonkey parser/emitter. The encoder and reference designs continue to live on in https://github.com/binast for the meanwhile.
Code to remove:
- js/src/frontend/BinAST* and all code guarded by
JS_BUILD_BINAST
- These will all need major rewrites before we ship them
- js/src/jsapi-test/tests/binast
- These are mostly auto-generated with a few hand-written tests
- js/src/jit-test/tests/binast
- These were auto-generated for normal jit-tests
- Vendored Rust code used by js/src/frontend/binast
- These remain on external repositories
Automation to remove:
- The BinAST tests in
SM(p)
andSM(cgc)
builds - The Raptor
Rap(inst-b)
,Rap(inst-b-c)
performance tasks
Assignee | ||
Comment 1•5 years ago
|
||
Remove the BinAST tests from following jobs:
- SM(p)
- SM(cgc)
Remove the BinAST performance tests:
- binast-instagram
Skip the WPT BinAST tests
Updated•5 years ago
|
Assignee | ||
Comment 2•5 years ago
|
||
Depends on D77919
Assignee | ||
Comment 3•5 years ago
|
||
Remove directories:
js/src/jsapi-tests/binast/
js/src/jit-test/tests/binast/
Remove additional tests:
js/src/fuzz-tests/testBinASTReader.cpp
js/src/jsapi-tests/testBinASTReader.cpp
Depends on D77920
Assignee | ||
Comment 4•5 years ago
|
||
Also remove js/src/frontend/BinAST* sources.
Depends on D77944
Assignee | ||
Comment 5•5 years ago
|
||
Depends on D77945
Assignee | ||
Comment 6•5 years ago
|
||
Depends on D77946
Comment 7•5 years ago
|
||
(CC-ing the persons who worked on BinAST)
Ted, any reason why this bug should be confidential?
Assignee | ||
Comment 8•5 years ago
|
||
I'm waiting on a few more discussions to happen and final approval that this is the best approach. I'll make sure the bug is open before any reviews actually start. These patches were to understand the scope of change.
Updated•5 years ago
|
Assignee | ||
Comment 9•5 years ago
|
||
We intend to remove the prototype code to reduce development complexity of Bug 1619282 and Bug 1601332. In future we will revisit what we will about BinAST implementation (which would likely be based on the new frontend).
Assignee | ||
Updated•5 years ago
|
Updated•5 years ago
|
Assignee | ||
Comment 10•5 years ago
|
||
Removing the jit-tests will need to happen manually (because it is too big for Lando) by removing the following paths:
js/src/jsapi-tests/binast/
js/src/jit-test/tests/binast/
I'll need a sheriff to do this manually once the rest of this lands. This does not need to happen at the same time though.
Assignee | ||
Comment 11•5 years ago
|
||
Marking leave-open until Comment 10 is handled.
Comment 12•5 years ago
|
||
Comment 13•5 years ago
|
||
Backed out for build bustages
backout: https://hg.mozilla.org/integration/autoland/rev/fa6512a9584891f866030fe0d70abbf4d86f7451
failure log: https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=306646121&repo=autoland&lineNumber=18724
Assignee | ||
Comment 14•5 years ago
|
||
The dom staticpref include in nsJSUtils.h
ends up being used in other places. This was regressed by Bug 1508306, but I'll put the header back in this stack so this can be landed.
Comment 15•5 years ago
|
||
Assignee | ||
Comment 16•5 years ago
|
||
Comment 17•5 years ago
|
||
bugherder |
Assignee | ||
Comment 18•5 years ago
|
||
Here is the patch to remove the jit-test. It removes the follow directories:
- js/src/jsapi-tests/binast/
- js/src/jit-test/tests/binast/
You should be able to r+ this on bugzilla and we will have a sheriff graft from try to autoland.
Comment 19•5 years ago
|
||
Comment 20•5 years ago
|
||
Backed out for causing build bustages on PermissionDelegateHandler.cpp.
Failure log: https://treeherder.mozilla.org/logviewer.html#?job_id=306749697&repo=autoland
Backout link: https://hg.mozilla.org/integration/autoland/rev/c7fc7af7052239d58cfd6bcd6e2f2fa31de2b561
Updated•5 years ago
|
Assignee | ||
Comment 21•5 years ago
|
||
Will leave the StaticPrefs_dom.h
header alone. Too many accidental uses have slipped into the unified builds depending on chunking.
Comment 22•5 years ago
|
||
Comment 23•5 years ago
|
||
Assignee | ||
Comment 24•5 years ago
|
||
After this last patch merges to m-c, this issue can be closed out.
Comment 25•5 years ago
|
||
bugherder |
Description
•