Closed
Bug 1621449
Opened 5 years ago
Closed 5 years ago
Unify Function data storage for FunctionBoxes
Categories
(Core :: JavaScript Engine, task, P1)
Core
JavaScript Engine
Tracking
()
RESOLVED
FIXED
mozilla76
| Tracking | Status | |
|---|---|---|
| firefox76 | --- | fixed |
People
(Reporter: mgaudet, Assigned: mgaudet)
References
Details
Attachments
(2 files)
Right now FunctionBoxes are in a peculiar state where the data about the function they represent is either stored 1) Directly on the FunctionBox, if it's a JSFunction, 2) In the CompilationInfo::funcData vector if it's a FunctionCreationData
By moving JSFunctions into the funcData array we get a couple of benefits:
FunctionBoxgets simpler- We get a persistent identifier for a specific Function or Function-to-be, which will be useful in subsequent refactorings.
| Assignee | ||
Comment 1•5 years ago
|
||
Updated•5 years ago
|
Assignee: nobody → mgaudet
Status: NEW → ASSIGNED
| Assignee | ||
Comment 2•5 years ago
|
||
Depends on D66317
Updated•5 years ago
|
Priority: -- → P1
Pushed by mgaudet@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/175edca152be
Support storing JSFunctions inside of the funcData array r=tcampbell
https://hg.mozilla.org/integration/autoland/rev/68a96136354c
Use CompilationInfo::funcData to store FunctionBox JSFunctions r=tcampbell
Comment 4•5 years ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/175edca152be
https://hg.mozilla.org/mozilla-central/rev/68a96136354c
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
status-firefox76:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla76
You need to log in
before you can comment on or make changes to this bug.
Description
•