Closed Bug 1629570 Opened 4 years ago Closed 4 years ago

Warp: Template objects for NewArray/NewObject

Categories

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

enhancement

Tracking

()

RESOLVED DUPLICATE of bug 1636059

People

(Reporter: evilpie, Unassigned)

References

(Blocks 1 open bug)

Details

Scalar replacement requires a template object. I think we also need it for inline GC allocations in JIT code.

Ideally this would use something like [1] to generate the snapshot. The whole template object system is quite adhoc/arbitrary but it might be hard to strip out of the MIR backend just yet.

[1] https://searchfox.org/mozilla-central/source/js/src/frontend/ObjLiteral.h

Priority: -- → P3
Severity: -- → N/A
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.