harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pavel Pervov <pmcfi...@gmail.com>
Subject Re: A question about gen_invoke_common_managed_func
Date Tue, 17 Feb 2009 09:05:49 GMT
Hi, Yixun,

The function you've mentioned is used to produce native to managed
transition (i.e. the call from VM code to JITted method).
It uses encoder to produce assembly for N2M transition. You can find
encoder sources in working_vm/vm/port/src/encoder.

Pavel.

On Tue, Feb 17, 2009 at 11:56 AM, YixunZhou <seanny2003@gmail.com> wrote:
> Hi all,
>  I have a question about gen_invoke_common_managed_func.
>  How does  "static char* gen_invoke_common_managed_func(char* stub)"  work?
>
>  I didn't find the implementation of function like "lea", "mov" in
> gen_invoke_common_managed_func. And I am confused about what function does
> gen_invoke_common_managed_func generate.
>
>  Thanks~
>
> --
>
> Best regard,
> Yixun Zhou
> seanny2003@gmail.com
>
>
>

Mime
View raw message