This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [C++ PATCH]: Use vector for access check stack
- From: Mark Mitchell <mark at codesourcery dot com>
- To: Nathan Sidwell <nathan at codesourcery dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Mon, 28 Jun 2004 07:48:15 -0700
- Subject: Re: [C++ PATCH]: Use vector for access check stack
- Organization: CodeSourcery, LLC
- References: <40E0054F.1000909@codesourcery.com>
Nathan Sidwell wrote:
Mark,
this patch reduces the memory the access checking stack uses. In
addition
to using a vector, we use a simple counter when access checking is
off. Your
implementation of pop_to_parent was being overly conservative wrt the
garbage
collector -- that cannot run in the middle of a function without also
seeing local variables.
I don't think I wrote that code, but anyhow, I agree.
built & tested on i686-pc-linux-gnu, ok?
OK.
--
Mark Mitchell
CodeSourcery, LLC
(916) 791-8304
mark@codesourcery.com