Re: How is the concept of scope implemented?

"yangjunpro: Target locked-->Ruby++" <yangjunpro@gmail.com>
Tue, 18 Nov 2008 21:29:51 -0800 (PST)

          From comp.compilers

Related articles
[5 earlier articles]
Re: How is the concept of scope implemented? lkrupp@pssw.com (Louis Krupp) (2008-11-15)
Re: How is the concept of scope implemented? tony@my.net (Tony) (2008-11-18)
Re: How is the concept of scope implemented? tony@my.net (Tony) (2008-11-18)
Re: How is the concept of scope implemented? tony@my.net (Tony) (2008-11-18)
Re: How is the concept of scope implemented? kamalpr@hp.com (kamal) (2008-11-18)
Re: How is the concept of scope implemented? DrDiettrich1@aol.com (Hans-Peter Diettrich) (2008-11-19)
Re: How is the concept of scope implemented? yangjunpro@gmail.com (yangjunpro: Target locked-->Ruby++) (2008-11-18)
Re: How is the concept of scope implemented? j.vimal@gmail.com (Vimal) (2008-11-19)
Re: How is the concept of scope implemented? tony@my.net (Tony) (2008-11-19)
Re: How is the concept of scope implemented? tony@my.net (Tony) (2008-11-19)
Re: How is the concept of scope implemented? tony@my.net (Tony) (2008-11-19)
Re: How is the concept of scope implemented? lkrupp@pssw.com (Louis Krupp) (2008-11-21)
| List of all articles for this month |
From: "yangjunpro: Target locked-->Ruby++" <yangjunpro@gmail.com>
Newsgroups: comp.compilers
Date: Tue, 18 Nov 2008 21:29:51 -0800 (PST)
Organization: Compilers Central
References: 08-11-054 08-11-062 08-11-089
Keywords: symbols, storage
Posted-Date: 19 Nov 2008 19:52:06 EST

Well, I don't think you need to generate code like


EnterScope(my_func);


In my understanding, the meaning of scope is to help the code
generator to generate code, after code generation phase, I don't think
it would be necessary to keep the scope in the memory. You could go
and discard the scope.


And go on with the further optimization work.



Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.