Closed Bug 1638140 Opened 4 years ago Closed 4 years ago

Add ThisBinding::DerivedConstructor kind

Categories

(Core :: JavaScript Engine, task, P3)

task

Tracking

()

RESOLVED DUPLICATE of bug 1636800

People

(Reporter: tcampbell, Assigned: tcampbell)

References

Details

Attachments

(1 obsolete file)

We currently have both thisBinding and needsThisTDZChecks to describe the this binding. These are intertwined so I'd like to just add a ThisBinding::DerivedConstructor kind so that they are handled together and inheritence (into arrow/eval) is simpler.

Remove the separate needsThisTDZChecks flag and instead encode this into the
ThisBinding enum. This makes it inheritance less error-prone.

Depends on D75382

Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → DUPLICATE

Comment on attachment 9149165 [details]
Bug 1638140 - Add ThisBinding::DerivedConstructor. r?mgaudet

Revision D75421 was moved to bug 1636800. Setting attachment 9149165 [details] to obsolete.

Attachment #9149165 - Attachment is obsolete: true
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: