[Webkit-unassigned] [Bug 156147] [JSC] implement async functions proposal

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat May 28 10:20:40 PDT 2016


--- Comment #108 from Saam Barati <sbarati at apple.com> ---
(In reply to comment #107)
> something like
> ```
> // private members of class Parser:
> #define JSC_DECLARE_RUNTIME_FLAG_BOOL(name, isEnabledFlag) bool m_is##name;
> // Parser constructor:
> #define JSC_INITIALIZE_PARSER_RUNTIME_FLAGS(name, isEnabledFlag) \
>   m_is##name = runtimeFlags.is##name();
> ```
> and replace `m_runtimeFlags` accesses with more direct things? I wouldn't
> want to make the RuntimeFlags class too fat, since it gets copied around a
> lot, but maybe only doing the heavy copying in the Parser constructor is
> okay.
> I'll try it and see how it goes, I guess

You can also add a field into Parser that copies out the flag at Parser construction time.

Have you tried making async a key word?

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/20160528/868477d1/attachment.html>

More information about the webkit-unassigned mailing list