aboutsummaryrefslogtreecommitdiff
path: root/gcc/java/constants.c
diff options
context:
space:
mode:
authorAndrew Haley <aph@cygnus.com>1999-02-17 02:01:59 +0000
committerAndrew Haley <aph@gcc.gnu.org>1999-02-17 02:01:59 +0000
commit7e57923cfc5fcf0182f8732dc7185edd270e6b6a (patch)
tree7638b4d2811e5f2af51147e536f2005bc7654aea /gcc/java/constants.c
parent04f7a12f783ea0d1177a0f4cdec20051c56061c8 (diff)
downloadgcc-7e57923cfc5fcf0182f8732dc7185edd270e6b6a.zip
gcc-7e57923cfc5fcf0182f8732dc7185edd270e6b6a.tar.gz
gcc-7e57923cfc5fcf0182f8732dc7185edd270e6b6a.tar.bz2
class.c (build_utf8_ref): Back out broken patch which was intended to to output signatures using '.' as a...
1999-02-09 Andrew Haley <aph@cygnus.com> * class.c (build_utf8_ref): Back out broken patch which was intended to to output signatures using '.' as a separator. * class.c (make_class_data): Output signatures using '.' as a separator, rather than '/'. (mangled_classname): Likewise. (make_field_value): Likewise. (make_method_value): Likewise. * constants.c (alloc_class_constant): Likewise. * expr.c (build_invokeinterface): Likewise. From-SVN: r25260
Diffstat (limited to 'gcc/java/constants.c')
-rw-r--r--gcc/java/constants.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/gcc/java/constants.c b/gcc/java/constants.c
index 8eb9f54..3679d4e 100644
--- a/gcc/java/constants.c
+++ b/gcc/java/constants.c
@@ -368,9 +368,12 @@ int
alloc_class_constant (clas)
tree clas;
{
-
+ tree class_name = build_internal_class_name (clas);
+
return alloc_name_constant (CONSTANT_Class,
- build_internal_class_name (clas));
+ (unmangle_classname
+ (IDENTIFIER_POINTER(class_name),
+ IDENTIFIER_LENGTH(class_name))));
}
/* Return a reference to the data array of the current constant pool. */