Closed Bug 1689102 Opened 5 years ago Closed 5 years ago

Refactor AbstractScopePtr not to hold Scope pointer

Categories

(Core :: JavaScript Engine, task, P3)

task

Tracking

()

RESOLVED FIXED
87 Branch
Tracking Status
firefox87 --- fixed

People

(Reporter: arai, Assigned: arai)

References

Details

Attachments

(2 files)

To simplify bug 1660275, rewrite access to enclosingScope where it just needs the scope's type, kind, and some simple property.
So that remaining part will become only eval/delazification, or instantiation.

this can be a refactoring for AbstractScopePtr not to point Scope*

Summary: Snapshot enclosing scope type/kind → Refactor AbstractScopePtr not to hold Scope pointer

Instead of accessing Scope from AbstractScopePtr, pre-calculate necessary
information in ScopeContext.

Also removed GCThingList.stencil field that's now unnecessary.

Depends on D103453

Pushed by arai_a@mac.com: https://hg.mozilla.org/integration/autoland/rev/48736d1f4f24 Part 1: Reorder ScopeContext fields to reduce padding. r=mgaudet https://hg.mozilla.org/integration/autoland/rev/fa91f9a9ab12 Part 2: Refactor AbstractScopePtr not to hold Scope pointer. r=mgaudet
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → 87 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: