Closed Bug 1617013 Opened 5 years ago Closed 5 years ago

Have FunctionBox store and manipulate ImmutableScriptFlags

Categories

(Core :: JavaScript Engine, task, P1)

task

Tracking

()

RESOLVED FIXED
mozilla76
Tracking Status
firefox76 --- fixed

People

(Reporter: mgaudet, Assigned: mgaudet)

References

(Blocks 1 open bug)

Details

Attachments

(2 files, 1 obsolete file)

After 1615729 we will have extracted ImmutableScriptFlags for sharing with other consumers.

We should do the same for BaseScript::MutableFlags, and then change the internal representation of all the FnctionBox flags that are representable with these flag words to use them. Then we'll be able to get rid of ugly synchronization code like this which is error prone.

This also unlocks the ability more easily stuff these flags into stencils to allow deferred allocation.

Blocks: 1617016

Resummarying this bug a bit for now: It turns out that in the short term we only need the Immutable flags for FunctionBox. I do think that we need a MutableFlags later, but today we don't yet need that.

Summary: Have FunctionBox store and manipulate ImmutableScriptFlags and MutableScriptFlags → Have FunctionBox store and manipulate ImmutableScriptFlags
Blocks: 1618302
Assignee: nobody → mgaudet
Status: NEW → ASSIGNED
Priority: -- → P1
Attachment #9129333 - Attachment is obsolete: true
Blocks: 1625533
Attachment #9134197 - Attachment description: Bug 1617013 - Rename immutable flag management methods and make type safe r?tcampbell → Bug 1617013 - Make ImmutableFlag managment flow through compilation better r?tcampbell
Pushed by mgaudet@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/36699203e990 Convert SharedContext to use immutable flags r=tcampbell https://hg.mozilla.org/integration/autoland/rev/0a0f348bf3ca Make ImmutableFlag managment flow through compilation better r=tcampbell
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla76
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: