diff options
author | Andrew Haley <aph@cygnus.com> | 1999-02-17 02:01:59 +0000 |
---|---|---|
committer | Andrew Haley <aph@gcc.gnu.org> | 1999-02-17 02:01:59 +0000 |
commit | 7e57923cfc5fcf0182f8732dc7185edd270e6b6a (patch) | |
tree | 7638b4d2811e5f2af51147e536f2005bc7654aea /gcc/java/expr.c | |
parent | 04f7a12f783ea0d1177a0f4cdec20051c56061c8 (diff) | |
download | gcc-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/expr.c')
-rw-r--r-- | gcc/java/expr.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/gcc/java/expr.c b/gcc/java/expr.c index 55e6ef6..dde41b9 100644 --- a/gcc/java/expr.c +++ b/gcc/java/expr.c @@ -1473,7 +1473,11 @@ build_invokeinterface (dtable, method_name, method_signature) dtable = build1 (INDIRECT_REF, dtable_type, dtable); dtable = build (COMPONENT_REF, class_ptr_type, dtable, lookup_field (&dtable_type, class_ident)); - lookup_arg = build_tree_list (NULL_TREE, build_utf8_ref (method_signature)); + lookup_arg = build_tree_list (NULL_TREE, + (build_utf8_ref + (unmangle_classname + (IDENTIFIER_POINTER(method_signature), + IDENTIFIER_LENGTH(method_signature))))); lookup_arg = tree_cons (NULL_TREE, dtable, tree_cons (NULL_TREE, build_utf8_ref (method_name), lookup_arg)); |