Consider adding an optimized JIT entry for Function.prototype.call/apply
Categories
(Core :: JavaScript Engine, enhancement, P3)
Tracking
()
People
(Reporter: jandem, Unassigned)
References
(Blocks 1 open bug)
Details
Updated•7 years ago
|
Comment 1•7 years ago
|
||
Updated•3 years ago
|
Comment 2•11 months ago
|
||
Iain... I feel like we have something like this these days via CacheIR. Close as WORKSFORME?
Comment 3•11 months ago
|
||
I think this bug was opened before we had CacheIR-based call ICs in baseline.
We have a variety of different kinds of support in CacheIR now. Notably, using specialized CacheIR, we can inline through fun_call and some versions of fun_apply. The trampoline wouldn't help with that. We also have some support for fun_call in the Ion CallGeneric trampoline.
In general, I don't think generating an IC that calls a trampoline that calls the target function is an improvement over generating a fun_call/fun_apply-specific IC that calls the target function directly.
It seems unlikely that changes in this direction would make things faster. They might simplify things slightly, but our existing complexity seems reasonably self-contained. I think we can close this.
Description
•