Closed Bug 1633893 Opened 4 years ago Closed 4 years ago

Convert BaselineScript to use js::TrailingArray

Categories

(Core :: JavaScript Engine: JIT, task, P3)

task

Tracking

()

RESOLVED FIXED
mozilla77
Tracking Status
firefox77 --- fixed

People

(Reporter: tcampbell, Assigned: tcampbell)

References

Details

Attachments

(1 file)

The BaselineScript type is in reasonable shape, but we should unify with other script-related data structures by using js::TrailingArray.

Sort the arrays by descending alignment. Use the delta between offsets to
compute the array lengths instead of storing directly. Use CheckedInt to
compute the allocation size.

Depends on D72944

Pushed by tcampbell@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/92b7728720a4
Use js::TrailingArray type for BaselineScript. r=jandem
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla77
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: