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]

Re: [PATCH] Location_tize define_label


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]