harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mikhail Fursov" <mike.fur...@gmail.com>
Subject Re: [Drlvm][OPT]how can inline RuntimeHelper?
Date Thu, 01 Feb 2007 09:46:56 GMT
The algorithm is:
1) Write java version of your helper with magics
2) Teach JIT to replace particular instruction with your Java method call
3) Ask JIT to inline the method.

Check jitrino/src/optimizer/helper_inliner.cpp code and try to trace how any
of exising helpers is inlined, for example write barrier or allocation
helper.



On 2/1/07, zouqiong <ustczz@gmail.com> wrote:
>
> Hi, all:
>    how can I inline RuntimeHelper in OPT?
>
> --
> Best Regards,
> Qiong,Zou
>



-- 
Mikhail Fursov

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message