This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
On Monday, March 1, 2004, at 04:01 PM, Mark Mitchell wrote:
All excellent points. But, there's no obvious data structure in which to record that information. Once we tidy up all the scope handling / symbol table goo in the front end, this would be possible and very desirable.
static GTY(()) varray_type real_scope; void push_scope () { VARRAY_PUSH_CHAR (real_scope, push_scope_old ()); }
void pop_scope () { if (VARRAY_TOP_CHAR (real_scope)) pop_scope_old (); VARRAY_POP (real_scope); }
?
-- Mark Mitchell CodeSourcery, LLC (916) 791-8304 mark@codesourcery.com
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |