[Webkit-unassigned] [Bug 147133] New: Add availability for InternalFunction to have JS implementation
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Jul 20 17:40:09 PDT 2015
https://bugs.webkit.org/show_bug.cgi?id=147133
Bug ID: 147133
Summary: Add availability for InternalFunction to have JS
implementation
Classification: Unclassified
Product: WebKit
Version: 528+ (Nightly build)
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: JavaScriptCore
Assignee: webkit-unassigned at lists.webkit.org
Reporter: utatane.tea at gmail.com
Current Promise constructor is implemented as an InternalFunction which has C++ implementations.
But almost all processes are done in JS builtin's @initializePromise function.
And after issue 147051 is landed, we can write the whole Promise constructor code in JS.
I suggest enabling InternalFunction to have JS function implementation instead of just replacing Promise constructor with a Promise builtin JS function object because if we replace the current Promise constructor with the JS function simply, we cannot leverage the getStaticFunctionSlot (& its system for materializing builtin functions lazily)
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20150721/25de3f68/attachment.html>
More information about the webkit-unassigned
mailing list