Closed
Bug 1635119
Opened 5 years ago
Closed 5 years ago
Better align SharedContext/FunctionBox to ImmutableScriptFlags
Categories
(Core :: JavaScript Engine, task, P2)
Core
JavaScript Engine
Tracking
()
RESOLVED
FIXED
mozilla78
Tracking | Status | |
---|---|---|
firefox78 | --- | fixed |
People
(Reporter: tcampbell, Assigned: tcampbell)
References
Details
Attachments
(3 files)
Fix up remaining naming inconsistencies and duplicate flags. Organize the non-ImmutableScriptFlags fields of the SharedContext a little better.
Assignee | ||
Comment 1•5 years ago
|
||
These flags are always set to the same values by
declareFunctionArgumentsObject.
Depends on D73697
Assignee | ||
Comment 2•5 years ago
|
||
Use similar helper methods as js::BaseScript for consistency. Also fix the
inconsistent accessor names so they match js::BaseScript and the flag itself.
Depends on D73704
Assignee | ||
Comment 3•5 years ago
|
||
Use field initializers when possible (not on bitfields) and organize and
comment the fields better.
Depends on D73705
Pushed by tcampbell@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/a5f346cd2009
Replace FunctionBox::usesArguments with ArgumentsHasVarBinding. r=mgaudet
https://hg.mozilla.org/integration/autoland/rev/d9ffceaffc78
Cleanup SharedContext::immutableFlags accessors. r=mgaudet
https://hg.mozilla.org/integration/autoland/rev/b80fa3c9a82f
Cleanup SharedContext/FunctionBox fields and comments. r=mgaudet
Comment 5•5 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/a5f346cd2009
https://hg.mozilla.org/mozilla-central/rev/d9ffceaffc78
https://hg.mozilla.org/mozilla-central/rev/b80fa3c9a82f
Status: NEW → RESOLVED
Closed: 5 years ago
status-firefox78:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla78
You need to log in
before you can comment on or make changes to this bug.
Description
•