[webkit-help] jit for arm
Zoltan Herczeg
zherczeg at inf.u-szeged.hu
Wed Nov 4 11:05:26 PST 2009
Hi,
JIT has a fixed stack layout (see JITStubs.h : struct JITStackFrame). The
cti trampolines setup and cleanup the necessary stack layout (since the
JIT code assumes the stack layout has already been initialized)
Zoltan
> Are these cti functions doing more than just jumping to JIT code? The
> routines seem to do more than just branch (at least in the ARM version I
> was looking at) and I'd like to understand them more.
>
> -----Original Message-----
> From: webkit-help-bounces at lists.webkit.org
> [mailto:webkit-help-bounces at lists.webkit.org] On Behalf Of Zoltan
> Herczeg
> Sent: Wednesday, November 04, 2009 9:55 AM
> To: ll Jefferry
> Cc: webkit-help at lists.webkit.org
> Subject: Re: [webkit-help] jit for arm
>
> Hi Jeff,
>
> ctiTrampoline: wrapper (helper) function to call the JIT code from C++
> ctiVMThrowTrampoline: wrapper (helper) function to call the cti_wmThrow
> (exception handling function) from the JIT.
> ctiOpThrowNotCaught: return to C++ if an exception is unhandled by the
> JIT
> code. Kinda side exit.
>
> cacheFlush uses NAPI (new API) call style for Linux. The necessary
> constant is defined by Linux kernel headers, but we would not want
> WebKit
> to depend those headers (hopefully they don't want to change it soon).
>
> Zoltan
>
>>> Hi,
>>>
>>
>>
>>> when i reading the jit for arm source code, i am not very clear the
>>> functionality of the flowing functions:
>>> ctiTrampoline
>>> ctiVMThrowTrampoline
>>> ctiOpThrowNotCaught
>>>
>>> could you explain to me?
>>> and another question is that: in cacheFlush function, why the system
>>> call
>>> number is 0xf0002? if it is defined by the toolchain?
>>>
>>>
>>> thanks!
>>>
>>> BR,
>>> Jeff
>>>
>> _______________________________________________
>> webkit-help mailing list
>> webkit-help at lists.webkit.org
>> http://lists.webkit.org/mailman/listinfo.cgi/webkit-help
>
>
> _______________________________________________
> webkit-help mailing list
> webkit-help at lists.webkit.org
> http://lists.webkit.org/mailman/listinfo.cgi/webkit-help
>
More information about the webkit-help
mailing list