Closed
Bug 1721849
Opened 4 years ago
Closed 3 years ago
Compile Lazy function from Stencil
Categories
(Core :: JavaScript Engine, enhancement, P1)
Core
JavaScript Engine
Tracking
()
RESOLVED
FIXED
96 Branch
| Tracking | Status | |
|---|---|---|
| firefox96 | --- | fixed |
People
(Reporter: nbp, Assigned: nbp)
References
Details
Attachments
(2 files)
We should add a test case which parse a script with the SyntaxParseHandler, and then attempt to delazify every function using only the Stencil instead of using the instanciated BaseScript.
This inlvove adding the code to the CompilationInput and CompilationState to take a Stencil as input, and adding testing function to run all of these on the main thread.
| Assignee | ||
Comment 1•4 years ago
|
||
| Assignee | ||
Comment 2•4 years ago
|
||
This function compiles its string arguments, first creating the top-level
stencil in a way similar to compileToStencil, but then delazify all inner
functions using DelazifyCanonicalScriptedFunction from the previous patch.
Pushed by npierron@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/d2c9b9804a7d
Overload DelazifyCanonicalScriptedFunction with Stencil inputs. r=arai
https://hg.mozilla.org/integration/autoland/rev/8d026de85d80
Add CompileAllToStencil testing function. r=arai
Comment 4•3 years ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/d2c9b9804a7d
https://hg.mozilla.org/mozilla-central/rev/8d026de85d80
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
status-firefox96:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 96 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•