[Webkit-unassigned] [Bug 178390] New: Support recursive tail call optimization for polymorphic calls
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Oct 17 09:01:59 PDT 2017
https://bugs.webkit.org/show_bug.cgi?id=178390
Bug ID: 178390
Summary: Support recursive tail call optimization for
polymorphic calls
Product: WebKit
Version: WebKit Nightly Build
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: JavaScriptCore
Assignee: webkit-unassigned at lists.webkit.org
Reporter: rmorisset at apple.com
Depends on: 176601
There is currently code in DFGByteCodeParser.cpp::handleInlining(...) that turns a polymorphic call into a switch on the value of the callee, with fast paths for each frequently called callee. This enables the calls to be inlined, but currently if one is a recursive tail call it cannot be optimized as in https://bugs.webkit.org/show_bug.cgi?id=176601. This is an unnecessary restriction.
Referenced Bugs:
https://bugs.webkit.org/show_bug.cgi?id=176601
[Bug 176601] Turn recursive tail calls into loops
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20171017/7650e6ab/attachment-0001.html>
More information about the webkit-unassigned
mailing list