This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Location_tize define_label
- From: Gabriel Dos Reis <gdr at integrable-solutions dot net>
- To: Nathan Sidwell <nathan at codesourcery dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: 28 Jun 2003 14:55:58 +0200
- Subject: Re: [PATCH] Location_tize define_label
- Organization: Integrable Solutions
- References: <3EFD8D07.2060905@codesourcery.com>
Nathan Sidwell <nathan@codesourcery.com> writes:
| --- 2053,2061 ----
| Otherwise return 0. */
|
| tree
| ! define_label (location_t location, tree name)
Isn't more efficient to pass a pointer to location instead of copying
and passing around the structure? I.e., I would see
tree
define_label (const location_t *locaotion, tree name)
-- Gaby