[Webkit-unassigned] [Bug 150496] [META] Align JS Built-ins handling between WebCore and JavaScriptCore

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Oct 23 02:29:00 PDT 2015


https://bugs.webkit.org/show_bug.cgi?id=150496

youenn fablet <youennf at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Depends on|                            |150333

--- Comment #1 from youenn fablet <youennf at gmail.com> ---
In addition to 150491, here is a list of features that might be nice to have:

1. Move code from XXBuiltinsWrapper.h into XXBuiltins.h
WebCore-specific at first.
The wrapper classes would be useful to remove boilerplate code in JSGlobalObject.

2. Add support for @optional (JSC and WebCore)
Add conditional compilation support.
This is already useful for WebCore.
It might be as well for JSC in the future.

3. Add support for @internals
Add a way to distinguish between files containing JS built-ins used as internal functions from JS built-ins and files containing files directly tied to JS constructor or prototypes.

Useful for WebCore.
Might also be for JSC.
Maybe move from @internals to @interface if clearer

4. Add auto-generation of WebCoreJSBuiltins.h
This is a more or less a replacement to JSC BuiltinExecutables.
It handles conditional compilation.

   - Could be used as a replacement of JSC BuiltinExecutables
5. Add auto-generation of WebCoreJSBuiltinsInternals.h
Would also be useful for JSC to simplify JSGlobalObject code

6. Add auto-generation of WebCoreJSBuiltins.cpp
This is not really need for CMake-based builds once conditional compilation is integrated directly into each .h/.cpp file.
This might still be useful for make-based builds

-- 
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/20151023/0f29661e/attachment.html>


More information about the webkit-unassigned mailing list