Closed Bug 1621449 Opened 5 years ago Closed 5 years ago

Unify Function data storage for FunctionBoxes

Categories

(Core :: JavaScript Engine, task, P1)

task

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:

  1. FunctionBox gets simpler
  2. We get a persistent identifier for a specific Function or Function-to-be, which will be useful in subsequent refactorings.
Blocks: 1621457
Assignee: nobody → mgaudet
Status: NEW → ASSIGNED
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
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla76
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: