[Webkit-unassigned] [Bug 184582] Add SetCallee as DFG-Operation

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Apr 13 10:42:24 PDT 2018


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

--- Comment #9 from Saam Barati <sbarati at apple.com> ---
(In reply to Dominik Inführ from comment #8)
> I guess it should look like this?
> 
> addToGraph(SetCallee,
> OpInfo(bitwise_cast<intptr_t>(callVariant.function())));
> 
> if (stackEntry->m_inlineCallFrame)
>     // update callee stack slot for inline frame

Why is your call variant guaranteed to be a constant callee? That should the the case. What you want to do is express it in a normal data flow edge in the IR

Like:
a: Foo
b: SetCallee(SomeUse:@a)

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20180413/27e051b6/attachment.html>


More information about the webkit-unassigned mailing list