Open Bug 1838554 Opened 1 year ago Updated 10 months ago

Use an IC for JSOp::BuiltinObject

Categories

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

enhancement

Tracking

()

People

(Reporter: iain, Assigned: iain)

Details

Attachments

(1 file)

We currently handle BuiltinObject in the baseline interpreter by generating a VM call to BuiltinObjectOperation, and in the baseline compiler by calling BuiltinObjectOperation during compilation to get the object, and then baking it in directly.

The interpreter implementation is slow. The compiler implementation doesn't play nicely with Bryan's work to share selfhosted baseline code, and also doesn't play nicely with my work to do offthread baseline compiles.

We can solve all these problems at once by using a baseline IC, much like we already do for GetIntrinsic.

Attachment #9339196 - Attachment description: WIP: Bug 1838554: Use an IC for JSOp::BuiltinObject → WIP: Bug 1838554 - Use an IC for JSOp::BuiltinObject
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: