Closed Bug 1620654 Opened 4 years ago Closed 4 years ago

Allocate FunctionScope ScopeCreationDatas without having an already allocated JSFunction

Categories

(Core :: JavaScript Engine, task, P3)

task

Tracking

()

RESOLVED FIXED
mozilla78
Tracking Status
firefox78 --- fixed

People

(Reporter: mgaudet, Assigned: tcampbell)

References

Details

Attachments

(1 file)

We need to defer the canonical function initialization that happens when we allocate a FunctionScope ScopeCreationData.

Priority: -- → P3
Assignee: nobody → tcampbell

Defer initializing the canonicalFunction while the FunctionScope::Data is
owned by the ScopeCreationData. When the data is released to create the
concrete js::Scope, we fill in the canonicalFunction.

Depends on D73765

Pushed by tcampbell@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/6bbf9b51c1f4
Defer init of FunctionScope::Data::canonicalFunction. r=mgaudet
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla78
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: