RESOLVED DUPLICATE of bug 184582 Bug 180044
Re-enable the recursive tail call optimisation for closures
https://bugs.webkit.org/show_bug.cgi?id=180044
Summary Re-enable the recursive tail call optimisation for closures
Robin Morisset
Reported 2017-11-27 10:40:01 PST
In https://bugs.webkit.org/show_bug.cgi?id=179835 I disabled recursive tail call optimisation on closures because it is wrong in general. It is possible in theory to re-enable it with the following changes: - Test that the callee cell itself is the same, and not just its executable. - This in turns requires storing a pointer to the callee cell in the InlineStackEntry. - If it is different, we do not want to OSR exit, as it may be a common case, we want to branch to a slow path in which we will compile the tail call in the normal fashion.
Attachments
Robin Morisset
Comment 1 2018-04-23 06:02:34 PDT
*** This bug has been marked as a duplicate of bug 184582 ***
Note You need to log in before you can comment on or make changes to this bug.