Closed Bug 1617306 Opened 4 years ago Closed 4 years ago

Move MutableScriptFlags into SharedStencil

Categories

(Core :: JavaScript Engine, enhancement, P2)

enhancement

Tracking

()

RESOLVED FIXED
mozilla75
Tracking Status
firefox75 --- fixed

People

(Reporter: mgaudet, Assigned: mgaudet)

Details

Attachments

(2 files)

(marking this as a regression, but really it's a reviewer error)

When I was helping land the first patch on Bug 1615729, I under-estimated the impact that the implicit conversion operators would have. Now that I've tried to extend code in the same area, by following a similar template for the MutableScriptFlags, I realize that there's definitely some friction.

The good news is that I think they're removable with fairly limited impact.

I'm going to resummary this, if only because the nice way to do this is also to move MutableScriptFlags at the same time.

Type: defect → enhancement
No longer regressed by: 1615729
Summary: Remove use of implicit conversions in ImmutableScriptFlags → Move MutableScriptFlags into SharedStencil

Have a partial patch for this, but want to clean it up a bit more (there's lovely symmetry that can be factored out when you also consider MutableFlags) but it's taking too long for this evening so will have to be Monday.

Assignee: nobody → mgaudet
Priority: -- → P2
Pushed by mgaudet@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/f6068403cbc7
Change implementation of SharedStencil ImmutableFlags to prepare for sharing r=caroline
https://hg.mozilla.org/integration/autoland/rev/2ac78faa4373
Move MutableScriptFlags into SharedStencil r=caroline
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla75
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: