[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:37:26 PST 2009


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





--- Comment #15 from yzkuang <yzkuang at gmail.com>  2009-12-08 08:37:25 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.

expand the macro "DEFINE_STUB_FUNCTION" one by one !  Because I have no other
good idea.

You can open JITStubs.cpp with EditPlus, then replace
  DEFINE_STUB_FUNCTION\(([a-zA-Z_*]+), ([a-zA-Z_]+)\)\n
with
 extern "C" {
\1 JITStubThunked_\2(STUB_ARGS_DECLARATION); 
    }; 
__asm \1 JIT_STUB cti_\2(STUB_ARGS_DECLARATION)
{
    ARM
    str lr,[sp,#32]
    import JITStubThunked_\2
    bl JITStubThunked_\2
    ldr lr,[sp,#32]
    bx lr    
}
\1 JITStubThunked_\2(STUB_ARGS_DECLARATION)\n

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