Closed Bug 1736737 Opened 3 years ago Closed 3 years ago

Refactor integration with template helpers and ArrayBufferOrView type hierarchy

Categories

(Core :: JavaScript: GC, enhancement)

enhancement

Tracking

()

RESOLVED FIXED
95 Branch
Tracking Status
firefox95 --- fixed

People

(Reporter: sfink, Assigned: sfink)

References

(Blocks 1 open bug)

Details

Attachments

(5 files, 1 obsolete file)

Right now, things like WrappedPtrOperations are using macros and an explicit list of types, but this could be done with templates. (When experimenting with making these types work with Heap<T>, I encountered this.)

Assignee: nobody → sphink
Status: NEW → ASSIGNED
Attachment #9246762 - Attachment is obsolete: true
Pushed by sfink@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/43a22e362156 Use template magic to specialize WrappedPtrOperations for ArrayBufferOrView subtypes r=jonco https://hg.mozilla.org/integration/autoland/rev/61da0b175b0b Change Heap<T> constructors to accept non-default-constructible T r=jonco https://hg.mozilla.org/integration/autoland/rev/0c286f5836f6 Move SafelyInitialized into a struct to allow partial specialization. r=jonco https://hg.mozilla.org/integration/autoland/rev/aa3037448983 Augment the WrappedPtrOperations for ArrayBufferOrView subclasses. r=jonco https://hg.mozilla.org/integration/autoland/rev/4ac615dbeb56 Implement Heap<ArrayBufferOrView> (for all subtypes) r=jonco
Pushed by sfink@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/1937d943bc78 Use template magic to specialize WrappedPtrOperations for ArrayBufferOrView subtypes r=jonco https://hg.mozilla.org/integration/autoland/rev/fc845975e3cd Change Heap<T> constructors to accept non-default-constructible T r=jonco https://hg.mozilla.org/integration/autoland/rev/551bd2292b5c Move SafelyInitialized into a struct to allow partial specialization. r=jonco https://hg.mozilla.org/integration/autoland/rev/c795c0db74aa Augment the WrappedPtrOperations for ArrayBufferOrView subclasses. r=jonco https://hg.mozilla.org/integration/autoland/rev/500b9492fa23 Implement Heap<ArrayBufferOrView> (for all subtypes) r=jonco
Flags: needinfo?(sphink)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: