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 <[email protected]> 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 > [email protected] > > >
