Commit d2e0d40a by Anthony Green Committed by Anthony Green

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
parent 8d1ce18d
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
......
......@@ -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);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment