Closed Bug 1721849 Opened 4 years ago Closed 3 years ago

Compile Lazy function from Stencil

Categories

(Core :: JavaScript Engine, enhancement, P1)

enhancement

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.

Depends on: 1723556
Depends on: 1730881

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
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 96 Branch
Regressions: 1739627
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: