<html>
<head>
<base href="https://bugs.webkit.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - LLInt should support other types of prototype GetById caching."
href="https://bugs.webkit.org/show_bug.cgi?id=158083#c42">Comment # 42</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - LLInt should support other types of prototype GetById caching."
href="https://bugs.webkit.org/show_bug.cgi?id=158083">bug 158083</a>
from <span class="vcard"><a class="email" href="mailto:sbarati@apple.com" title="Saam Barati <sbarati@apple.com>"> <span class="fn">Saam Barati</span></a>
</span></b>
<pre>(In reply to <a href="show_bug.cgi?id=158083#c41">comment #41</a>)
<span class="quote">> Hi Guys,
>
> I am trying to inline the customs getter function call but I am facing a
> weird error.
>
> When I set the cache Up, I put into pc[5] the pointer of the Custom Function
> "GetValueFunc".
>
> When I try to load it into a register in LowLevelInterpreter64.asm, its
> content is not the same. I am doing the following operations:
>
> loadisFromInstruction(5, t1)
> PrepareForCCall
> //load the arguments
> cCall4(t0)
> //retrun retrieving and dispatch
>
> I debugged the value present into t1 (in my architecture is the rsi) and it
> is not corresponding to the pointer setted in setup. To test if call was
> working, I manually set rsi with the value of the function address and the
> function was called, however some arguments were incorrect the pointers.
>
> I tried load the function pointer using:
> loadpFromInstruction(5, t1)
>
> And had no success too.
>
> Is anything I am doing wrong to get the pc[] elements as pointer?</span >
Can you post the patch that you think should work?
What architecture are you on?</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>