Open
Bug 1815498
Opened 2 years ago
Updated 2 years ago
Avoid calling the arguments rectifier when the target is known
Categories
(Core :: JavaScript Engine: JIT, task, P3)
Core
JavaScript Engine: JIT
Tracking
()
NEW
People
(Reporter: iain, Unassigned)
References
(Blocks 1 open bug)
Details
(Whiteboard: [sp3])
CallInlinedFunction always calls the same target function. We're already passing in fixedArgc (the number of args provided at the callsite); if we also passed in the number of arguments the target expects, we could push the required undefined values without having to go through the rectifier. (We might still need to keep the rectifier around to handle cases where the total number of arguments is higher than we want to unroll.)
As an extension, there are also some non-inlined call ICs where we have already guarded the target, and could use the same trick.
Updated•2 years ago
|
Whiteboard: [sp3]
Updated•2 years ago
|
See Also: → https://mozilla-hub.atlassian.net/browse/SP3-253
You need to log in
before you can comment on or make changes to this bug.
Description
•