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 <[EMAIL PROTECTED]> wrote:
Hi, all: how can I inline RuntimeHelper in OPT? -- Best Regards, Qiong,Zou
-- Mikhail Fursov
