Closed
Bug 1665612
Opened 5 years ago
Closed 5 years ago
Add delazified flag to ScriptStencil
Categories
(Core :: JavaScript Engine, task, P1)
Core
JavaScript Engine
Tracking
()
RESOLVED
FIXED
83 Branch
Tracking | Status | |
---|---|---|
firefox83 | --- | fixed |
People
(Reporter: arai, Assigned: arai)
References
Details
Attachments
(1 file)
in bug 1665387, we'll merge CompilationStencil for delazification into top-level CompilationStencil.
If we do that, the function is represented as "eagerly compiled from the beginning",
and the function isn't relazified, because AllowRelazify
flag isn't set.
we need a flag in ScriptStencil
, that's set when merging delazification stencil,
and if the flag is set, we should set AllowRelazify
flag when instantiation.
Assignee | ||
Comment 1•5 years ago
|
||
Assignee | ||
Comment 2•5 years ago
|
||
actually, we should store runtime MutableScriptFlagsEnum::AllowDelazify into stencil.
https://searchfox.org/mozilla-central/rev/d410917833190ee08a62b38f8f9de65cea1e661b/js/src/vm/JSScript.cpp#1018-1019
Updated•5 years ago
|
Attachment #9176302 -
Attachment description: Bug 1665612 - Add ScriptStencil.isDelazified field to record delazification in merged stencil. r?tcampbell! → Bug 1665612 - Add ScriptStencil.allowDelazify field to record MutableScriptFlagsEnum::AllowDelazify in merged stencil. r?tcampbell!
Updated•5 years ago
|
Attachment #9176302 -
Attachment description: Bug 1665612 - Add ScriptStencil.allowDelazify field to record MutableScriptFlagsEnum::AllowDelazify in merged stencil. r?tcampbell! → Bug 1665612 - Add ScriptStencil.allowDelazify field to record MutableScriptFlagsEnum::AllowDelazify in stencil XDR. r?tcampbell!
Pushed by arai_a@mac.com:
https://hg.mozilla.org/integration/autoland/rev/755b9a0117fc
Add ScriptStencil.allowDelazify field to record MutableScriptFlagsEnum::AllowDelazify in stencil XDR. r=tcampbell
Comment 4•5 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
status-firefox83:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 83 Branch
Comment 5•5 years ago
•
|
||
deleted
You need to log in
before you can comment on or make changes to this bug.
Description
•