[Webkit-unassigned] [Bug 40179] Re-enable JIT_OPTIMIZE_NATIVE_CALL on MIPS

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jun 14 14:02:47 PDT 2010


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





--- Comment #8 from Chao-ying Fu <fu at mips.com>  2010-06-14 14:02:46 PST ---
(In reply to comment #7)
> > Why do we put callFrameRegister to the stack location of 1 + OBJECT_OFFSETOF(struct JITStackFrame, callFrame) / sizeof (void*)?
> 
> We need "1 +" because the return address has been pushed onto the stack by call.
> 
> In the old implementation, we would pop the return address off the stack before this code ran.

  Thanks for the explanation!  This helps me to understand.

For MIPS native call, I manage the return address in the stack differently (at the -4 location).  I use "#if CPU(MIPS)" in several places to make MIPS work.  Thanks!

Regards,
Chao-ying

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