Closed Bug 1666024 Opened 4 years ago Closed 4 years ago

Clear FunctionFlags::Flags::MUTABLE_FLAGS bits in frontend and avoid storing into ScriptStencil

Categories

(Core :: JavaScript Engine, task, P1)

task

Tracking

()

RESOLVED FIXED
82 Branch
Tracking Status
firefox82 --- fixed

People

(Reporter: arai, Assigned: arai)

References

Details

Attachments

(1 file)

While delazification, we copy JSFunction::flags() into FunctionBox.flags_ and store it into ScriptStencil.functionFlags.
FunctionFlags::Flags::MUTABLE_FLAGS bits should be filtered out in this process, to avoid
encoding those bits in XDR.

in current XDR, we clear those bits in XDR function, but in stencil XDR, we can remove them before that step.

Pushed by arai_a@mac.com: https://hg.mozilla.org/integration/autoland/rev/e58e4440aad0 Clear FunctionFlags::Flags::MUTABLE_FLAGS bits in FunctionBox. r=tcampbell
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 82 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: