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:
parent
8d1ce18d08
commit
d2e0d40a13
|
@ -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
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue