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/RFC] Mark __asm__ identifiers as referenced in varasm.c


On Jul 7, 2006, at 5:32 PM, Mark Mitchell wrote:
Yes, and that's what's wrong. Why throw away the information to which
the name refers? We should replace assemble_name with
assemble_decl_name (taking a DECL), and then, for callers that really
don't have anything to which to refer, call assemble_name_raw instead.
Note that this would probably make the compiler faster by avoiding
assemble_name's hashing every name to see if it might refer to something.

Ah, I see what you mean; yes, that is better/nicer/cleaner/faster... Thanks for explaining.



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