Closed Bug 1678723 Opened 5 years ago Closed 5 years ago

Make ScriptStencil packed

Categories

(Core :: JavaScript Engine, task, P1)

task

Tracking

()

RESOLVED FIXED
86 Branch
Tracking Status
firefox86 --- fixed

People

(Reporter: arai, Assigned: arai)

References

Details

Attachments

(4 files)

After bug 1678458 and bug 1678705, ScriptStencil is pointer-free.
If we make it packed, we can encode/decode the struct at once.

TODO:

  • split Maybe into raw data and bit field
  • move bit fields into single word
Pushed by arai_a@mac.com: https://hg.mozilla.org/integration/autoland/rev/a75f1d3aaa47 Part 1: Stop using Maybe for ScriptStencil.memberInitializers. r=tcampbell https://hg.mozilla.org/integration/autoland/rev/e8c1ab93cf1f Part 2: Stop using Maybe for ScriptStencil.lazyFunctionEnclosingScopeIndex_. r=tcampbell https://hg.mozilla.org/integration/autoland/rev/13513734f980 Part 3: Use single uint32_t for flags. r=tcampbell https://hg.mozilla.org/integration/autoland/rev/3de44c3a08a5 Part 4: Encode ScriptStencil at once. r=tcampbell
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: