Closed Bug 1803329 Opened 1 year ago Closed 1 year ago

Simplify code now that Object/Function are eagerly created

Categories

(Core :: JavaScript Engine, task)

task

Tracking

()

RESOLVED FIXED
109 Branch
Tracking Status
firefox109 --- fixed

People

(Reporter: jandem, Assigned: jandem)

References

Details

Attachments

(3 files)

After bug 1219128, each global has Object and Function defined after its creation. This allows us to simplify and optimize some code.

These objects are defined when we create the global since bug 1219128.

Depends on D163444

We no longer need the do-while structure after part 1.

Depends on D163445

Pushed by jdemooij@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/01b95fa20a7c
part 1 - Simplify initialization of global object prototype. r=nbp
https://hg.mozilla.org/integration/autoland/rev/09f75f0a6c20
part 2 - Use infallible functions to get object/function constructor/prototype and eval. r=nbp
https://hg.mozilla.org/integration/autoland/rev/35dc28a7ae00
part 3 - Simplify JS_ResolveStandardClass control flow. r=nbp
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 109 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: