Re: [DOTNET-ROTOR] Using helper return into native code

2005-03-21 Thread J. Redondo
Thank you very much for your help, you were rigth. Actually I did it work without the mov_register_indirect_to(ARG_1, TOS_REG_1);, having the parameter in the top of the stack is enough to call the second helper. === This list is hosted by DevelopMentorĀ® http://www

Re: [DOTNET-ROTOR] Using helper return into native code

2005-03-21 Thread Jan Kotas
You need to call emit_pushresult_Ptr after the first helper call to get the return value pushed onto the stack: emit_pushresult_Ptr(); enregisterTOS; mov_register_indirect_to(ARG_1, TOS_REG_1); callInfo.reset(); emit_callhelper_D(func); -Jan -Original Message- From: Discussion of the R