Closed Bug 1605387 Opened 4 years ago Closed 4 years ago

Move js::ImmutableScriptData to a new header file

Categories

(Core :: JavaScript Engine, task, P2)

task

Tracking

()

RESOLVED FIXED
mozilla76
Tracking Status
firefox76 --- fixed

People

(Reporter: tcampbell, Assigned: caroline)

References

(Blocks 1 open bug)

Details

Attachments

(3 files)

This structure will be shared between the stencil structures and the vm structures. We should move JSTryNote / ScopeNote / ImmutableScriptData to a separate header.

  • Figure out name for header (frontend/StencilScriptData.h maybe?)
  • Remove XDR accessors from JSTryNote / ScopeNote / ImmutableScriptData)
  • Move these to a js::stencil namespace and rename JSTryNote
  • In JSScript.h, we can pull these names into js namespace with an alias
  • Fix formatting of comments for the data structure.
Priority: -- → P2
Assignee: nobody → ccullen
Status: NEW → ASSIGNED

Pulling move JSTryNote / ScopeNote / ImmutableScriptData into js::stencil namespace and aliasing them in JSScript.h into a separate bug.

Blocks: 1623169
Attachment #9133928 - Attachment description: Bug 1605387 - Rename JSTryNote to TryNote. r=mgaudet → Bug 1605387 - Rename JSTryNote to TryNote and move into js namespace. r=mgaudet

Note that arai is also making some of these changes in bug 1622530. It would be good to coordinate :)

Attachment #9133928 - Attachment description: Bug 1605387 - Rename JSTryNote to TryNote and move into js namespace. r=mgaudet → Bug 1605387 - Rename JSTryNote to TryNote, move into js namespace, and add default initialization. r=mgaudet
Pushed by cbrindusan@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/83d3d0df06b7
Move JSTryNote, ScopeNote, and ImmutableScriptData into SharedStencil.h. r=mgaudet
https://hg.mozilla.org/integration/autoland/rev/adb269256322
Remove XDR accessors on JSTryNote and ScopeNote. r=mgaudet
https://hg.mozilla.org/integration/autoland/rev/10b146b10dc1
Rename JSTryNote to TryNote, move into js namespace, and add default initialization. r=mgaudet
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla76
Regressions: 1623871
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: