yes you are right, does this following piece of code take into acc even local variables? it is alteast not evident thanks
On Mon, 22 Nov 2004, Govind Kanshi wrote: > If I understand your question correctly you are looking for epilog stuff > > Look up x86fjit.h and x86def.h > > #define x86_emit_return(argsSize) \ > x86_mov_reg(x86DirTo, x86Big, x86_mod_ind_disp(X86_ESI, X86_EBP, > 0-sizeof(void*))); \ > x86_mov_reg(x86DirTo, x86Big, x86_mod_reg(X86_ESP,X86_EBP));\ > x86_pop(X86_EBP); \ > x86_ret(argsSize) > > #define x86_drop > > -----Original Message----- > From: Discussion of the Rotor Shared Source CLI implementation > [mailto:[EMAIL PROTECTED] On Behalf Of Archana > Sent: Monday, November 22, 2004 2:04 PM > To: [EMAIL PROTECTED] > Subject: adjusting stack back while method return > > Hi, > although the code where the stack is grown according to the number of > local variables is very clear and explicit; the reverse is not clear, > when > the method returns. can some one please point out where in > the JIT, the stack is dropped depending on the #locals that were > allocated. how the stack is adjusted wrt arguments, return values are > simple to find though. > Thanks very much. > archana > > =================================== > This list is hosted by DevelopMentor(r) http://www.develop.com > ASP.NET courses you may be interested in: > > Guerrilla.NET > November 29 - December 03, 204, in London, UK > December 06-10, 2004, in Los Angeles > http://www.develop.com/courses/gdotnetls > > Essential .NET: building applications and components with CSharp > November 29 - December 03, 2004, in Los Angeles > http://www.develop.com/courses/edotnet > > View archives and manage your subscription(s) at > http://discuss.develop.com > > =================================== > This list is hosted by DevelopMentorŪ http://www.develop.com > ASP.NET courses you may be interested in: > > Guerrilla.NET > November 29 - December 03, 204, in London, UK > December 06-10, 2004, in Los Angeles > http://www.develop.com/courses/gdotnetls > > Essential .NET: building applications and components with CSharp > November 29 - December 03, 2004, in Los Angeles > http://www.develop.com/courses/edotnet > > View archives and manage your subscription(s) at http://discuss.develop.com > -- Regards, Archana =================================== This list is hosted by DevelopMentorŪ http://www.develop.com ASP.NET courses you may be interested in: Guerrilla.NET November 29 - December 03, 204, in London, UK December 06-10, 2004, in Los Angeles http://www.develop.com/courses/gdotnetls Essential .NET: building applications and components with CSharp November 29 - December 03, 2004, in Los Angeles http://www.develop.com/courses/edotnet View archives and manage your subscription(s) at http://discuss.develop.com