Closed Bug 1688055 Opened 4 years ago Closed 4 years ago

Refactor LexicalEnvironmentObject into several subclasses

Categories

(Core :: JavaScript Engine, task, P3)

task

Tracking

()

RESOLVED FIXED
88 Branch
Tracking Status
firefox88 --- fixed

People

(Reporter: jorendorff, Assigned: jorendorff)

Details

Attachments

(7 files)

In anticipation of adding a ClassBodyEnvironmentObject class to the hierarchy, I'd like LexicalEnvironmentObject not to be so large and weird.

Severity: -- → N/A
Priority: -- → P3
Assignee: nobody → jorendorff
Status: NEW → ASSIGNED
Pushed by jorendorff@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/3866de326a0b Part 1: Factor out a GlobalLexicalEnvironmentObject subclass from LexicalEnvironmentObject. r=mgaudet https://hg.mozilla.org/integration/autoland/rev/c42a776a1a13 Part 2: Factor out a NonSyntacticLexicalEnvironmentObject subclass from LexicalEnvironmentObject. r=mgaudet https://hg.mozilla.org/integration/autoland/rev/fc50fb18ae12 Part 3: Factor out an ExtensibleLexicalEnvironmentObject subclass from LexicalEnvironmentObject. r=mgaudet https://hg.mozilla.org/integration/autoland/rev/ca92674badfb Part 4: Use existing NamedLambdaObject subclass rather than LexicalEnvironmentObject where appropriate. r=mgaudet https://hg.mozilla.org/integration/autoland/rev/78cb751e99d7 Part 5: Factor out BlockLexicalEnvironmentObject subclass from LexicalEnvironmentObject. r=mgaudet https://hg.mozilla.org/integration/autoland/rev/5d2ed51e4959 Part 6: Reorder definitions in EnvironmentObject.cpp to match declaration order. r=mgaudet https://hg.mozilla.org/integration/autoland/rev/f2ecfa12e3d9 Part 7: Adjust a few comments about environments. r=mgaudet
Pushed by jorendorff@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/bf6c77c8a0fe Part 1: Factor out a GlobalLexicalEnvironmentObject subclass from LexicalEnvironmentObject. r=mgaudet https://hg.mozilla.org/integration/autoland/rev/afd56f0fae1b Part 2: Factor out a NonSyntacticLexicalEnvironmentObject subclass from LexicalEnvironmentObject. r=mgaudet https://hg.mozilla.org/integration/autoland/rev/744f39b7bb3a Part 3: Factor out an ExtensibleLexicalEnvironmentObject subclass from LexicalEnvironmentObject. r=mgaudet https://hg.mozilla.org/integration/autoland/rev/e0ddf096cde9 Part 4: Use existing NamedLambdaObject subclass rather than LexicalEnvironmentObject where appropriate. r=mgaudet https://hg.mozilla.org/integration/autoland/rev/6e6d301b0066 Part 5: Factor out BlockLexicalEnvironmentObject subclass from LexicalEnvironmentObject. r=mgaudet https://hg.mozilla.org/integration/autoland/rev/954d6682b6c5 Part 6: Reorder definitions in EnvironmentObject.cpp to match declaration order. r=mgaudet https://hg.mozilla.org/integration/autoland/rev/d2fec58f3f7d Part 7: Adjust a few comments about environments. r=mgaudet
Flags: needinfo?(jorendorff)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: