Closed
Bug 1505784
Opened 6 years ago
Closed 6 years ago
Clean up script flags handling in XDRScript/CopyScript
Categories
(Core :: JavaScript Engine, enhancement)
Core
JavaScript Engine
Tracking
()
RESOLVED
FIXED
mozilla65
Tracking | Status | |
---|---|---|
firefox65 | --- | fixed |
People
(Reporter: jandem, Assigned: jandem)
References
(Depends on 1 open bug)
Details
Attachments
(5 files, 1 obsolete file)
Now that we use flag words for this, we no longer have to copy each flag explicitly in CopyScript and XDRScript.
Assignee | ||
Comment 1•6 years ago
|
||
Note: the old code didn't copy the HasNoScriptRval and SelfHosted flags, because they are set to the correct values in CreateEmptyScriptForClone. That means it's fine to copy them as part of the flags word. The only change in behavior is that we now copy the IsLikelyConstructorWrapper flag as well.
Assignee | ||
Comment 2•6 years ago
|
||
Depends on D11325
Updated•6 years ago
|
Attachment #9023635 -
Attachment is obsolete: true
Assignee | ||
Comment 3•6 years ago
|
||
Depends on D11325
Assignee | ||
Comment 4•6 years ago
|
||
Depends on D11335
Assignee | ||
Comment 5•6 years ago
|
||
Depends on D11336
Pushed by jandemooij@gmail.com: https://hg.mozilla.org/integration/autoland/rev/e84c675467af part 1 - Copy immutableFlags_ word in CopyScript instead of copying each flag separately. r=tcampbell https://hg.mozilla.org/integration/autoland/rev/e82a6edf415c part 2 - Move HideScriptFromDebugger from ImmutableFlags to MutableFlags. r=tcampbell https://hg.mozilla.org/integration/autoland/rev/648aae354898 part 3 - Copy immutableFlags_ word in XDRScript instead of copying each flag separately. r=tcampbell https://hg.mozilla.org/integration/autoland/rev/1f940df360da part 4 - Remove some now-redundant initialization code in JSScript::initFromModuleContext. r=tcampbell
Assignee | ||
Comment 7•6 years ago
|
||
Pushed by jandemooij@gmail.com: https://hg.mozilla.org/integration/autoland/rev/75880e75e5da part 5 - Assert the HideScriptFromDebugger flag is not set in CopyScript. r=tcampbell
Comment 9•6 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/e84c675467af https://hg.mozilla.org/mozilla-central/rev/e82a6edf415c https://hg.mozilla.org/mozilla-central/rev/648aae354898 https://hg.mozilla.org/mozilla-central/rev/1f940df360da
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
status-firefox65:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla65
Comment 10•6 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/75880e75e5da
You need to log in
before you can comment on or make changes to this bug.
Description
•