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

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon May 9 09:46:20 PDT 2016


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

--- Comment #77 from Yusuke Suzuki <utatane.tea at gmail.com> ---
Comment on attachment 277938
  --> https://bugs.webkit.org/attachment.cgi?id=277938
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=277938&action=review

>>> Source/JavaScriptCore/parser/Parser.cpp:1796
>>> +                    result = parseAsyncFunctionDeclaration(context);
>> 
>> These code is largely the same to the FUNCTION case. So extracting this to some function is recommended.
> 
> Sorry, can you clarify what you mean here?
> 
> I'm not sure if you're referring to this entire case statement, or the inside of `parseAsyncFunctionDeclaration` (which could share some code with parseFunctionDeclaration maybe), or what

Ah, sorry. I mean this case statement. (This case clause and FUNCTION cases are function statement special cases, right?)

-- 
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/20160509/6cdf7305/attachment.html>


More information about the webkit-unassigned mailing list