Open Bug 1862128 Opened 1 year ago Updated 1 year ago

Use JS::WellKnownAtomId as self-hosted function name in JSPropertySpec or JSFunctionSpec

Categories

(Core :: JavaScript Engine, task, P3)

task

Tracking

()

ASSIGNED

People

(Reporter: arai, Assigned: arai)

References

(Blocks 1 open bug)

Details

(Whiteboard: [sp3])

Attachments

(1 file)

JSPropertySpec and JSFunctionSpec store the self-hosted function's name as const char*, and it's atomized when defining the property/function.
in order to reduce the cost while page load, it's better using the JS::WellKnownAtomId here as well.

Whiteboard: [sp3]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: