<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#c41">Comment # 41</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:ticaiolima&#64;gmail.com" title="Caio Lima &lt;ticaiolima&#64;gmail.com&gt;"> <span class="fn">Caio Lima</span></a>
</span></b>
        <pre>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 &quot;GetValueFunc&quot;.

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?</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>