Closed Bug 1604069 Opened 4 years ago Closed 4 years ago

Use consistent initialization for IsLikelyConstructorWrapper flag

Categories

(Core :: JavaScript Engine, defect, P2)

defect

Tracking

()

RESOLVED FIXED
mozilla77
Tracking Status
firefox77 --- fixed

People

(Reporter: tcampbell, Assigned: tcampbell)

References

Details

Attachments

(1 file)

The js::BaseScript::ImmutableFlags::IsLikelyConstructorWrapper flag doesn't follow normal lazy/non-lazy initialization patterns and should be fixed. In practice, the current implementation is wrong for BinAST lazy-functions.

This BaseScript flag should initialized in the same way as other flags. This
fixes lazy-function BinAST parsing to compute this flag correctly.

Priority: -- → P2
Pushed by tcampbell@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/52c86d6ee05b
Fix IsLikelyConstructorWrapper flag initialization. r=arai
Depends on: 1604988
Flags: needinfo?(tcampbell)
Attachment #9116030 - Attachment description: Bug 1604069 - Fix IsLikelyConstructorWrapper flag initialization. r?arai → Bug 1604069 - Fix IsLikelyConstructorWrapper flag initialization
Pushed by tcampbell@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/5a251a4de01b
Fix IsLikelyConstructorWrapper flag initialization r=mgaudet
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla77
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: