[Webkit-unassigned] [Bug 158083] LLInt should support other types of prototype GetById caching.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jun 10 13:32:08 PDT 2016


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

--- Comment #41 from Caio Lima <ticaiolima at gmail.com> ---
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?

-- 
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/20160610/f9afb045/attachment-0001.html>


More information about the webkit-unassigned mailing list