expr.c (generate_name): Use ASM_GENERATE_INTERNAL_LABEL to create internal labels.

* expr.c (generate_name): Use ASM_GENERATE_INTERNAL_LABEL to
	create internal labels.
	(lookup_label): Ditto.

From-SVN: r26672
This commit is contained in:
Anthony Green 1999-04-27 05:18:11 +00:00 committed by Anthony Green
parent 8d1ce18d08
commit d2e0d40a13
2 changed files with 11 additions and 4 deletions

View File

@ -1,3 +1,9 @@
1999-04-29 Anthony Green <green@cygnus.com>
* expr.c (generate_name): Use ASM_GENERATE_INTERNAL_LABEL to
create internal labels.
(lookup_label): Ditto.
Sat Apr 24 16:50:19 1999 Alexandre Petit-Bianco <apbianco@cygnus.com>
* class.c (layout_class_method): Generate <clinit>'s rtl for

View File

@ -1227,8 +1227,8 @@ lookup_label (pc)
int pc;
{
tree name;
char buf[20];
sprintf (buf, "LJpc=%d", pc);
char buf[32];
ASM_GENERATE_INTERNAL_LABEL(buf, "LJpc=", pc);
name = get_identifier (buf);
if (IDENTIFIER_LOCAL_VALUE (name))
return IDENTIFIER_LOCAL_VALUE (name);
@ -1249,8 +1249,9 @@ tree
generate_name ()
{
static int l_number = 0;
char buff [20];
sprintf (buff, "$LJv%d", l_number++);
char buff [32];
ASM_GENERATE_INTERNAL_LABEL(buff, "LJv", l_number);
l_number++;
return get_identifier (buff);
}