[Webkit-unassigned] [Bug 30552] [Symbian] Port ARM traditional JIT Trampolines to RVCT

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Dec 8 08:18:50 PST 2009


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


yzkuang <yzkuang at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |yzkuang at gmail.com




--- Comment #14 from yzkuang <yzkuang at gmail.com>  2009-12-08 08:18:48 PST ---
(In reply to comment #12)
> I tried running sunspider testsuite with the trampolines and got heap
> corruption. Don't know if the issue is the trampoline itself or some regression
> it causes with different codepath.
> Callstack and register dump of the run: http://pastebin.ca/1656908
> Search for ">>>>" to find the current stack pointer.

 You use the RVCT (ARM) compiler ?
 The macro " DEFINE_STUB_FUNCTION" must be redefined for RVCT and ARM!
 Like this:

"DEFINE_STUB_FUNCTION(EncodedJSValue, op_convert_this)"

  ====>>>>

"
extern "C" {
EncodedJSValue JITStubThunked_op_convert_this(STUB_ARGS_DECLARATION); 
    }; 
__asm EncodedJSValue JIT_STUB cti_op_convert_this(STUB_ARGS_DECLARATION)
{
    ARM
    str lr,[sp,#32]
    import JITStubThunked_op_convert_this
    bl JITStubThunked_op_convert_this
    ldr lr,[sp,#32]
    bx lr    
}
EncodedJSValue JITStubThunked_op_convert_this(STUB_ARGS_DECLARATION)
"

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list