[Webkit-unassigned] [Bug 163099] [JSC] Clean up callOperation APIs

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Oct 6 22:42:20 PDT 2016


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

Saam Barati <sbarati at apple.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |sbarati at apple.com

--- Comment #1 from Saam Barati <sbarati at apple.com> ---
(In reply to comment #0)
> From Saam's idea. https://bugs.webkit.org/show_bug.cgi?id=162978#c3
> 
> class Call {
>       struct Argument {
>               Argument(GPRReg);
>               Argument(JSValueRegs);
>               Argument(immediate type: int32/int64/pointer); 
>       }
>       Type m_resultType;
>       Vector<Arguments> m_arguments;
>       FunctionPtr m_function;
> };
> 
> and then have a function like:
> setupCallWithExecState(const Call& call);
> 
> And API should correctly construct the frame according to Vector<Arguments>.

Thinking about it more, we'd probably want to encode if the first argument is ExecState or not since we have some operations that don't take ExecState

-- 
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/20161007/d4f6c992/attachment.html>


More information about the webkit-unassigned mailing list