expr.c (build_field_ref): Pass NULL_TREE as SPECIAL arg to get_symbol_table_index().
commit313ab5ee9c2616aa6c3058cf992d2f69b52fc2db
authorAndrew Haley <aph@redhat.com>
Thu, 8 Jun 2006 14:01:40 +0000 (8 14:01 +0000)
committerAndrew Haley <aph@gcc.gnu.org>
Thu, 8 Jun 2006 14:01:40 +0000 (8 14:01 +0000)
tree06de34fc6cdfcf4bb3efea134a03b6b617bab797
parent297750da0393e5542752140f9ad5abb924f6305e
expr.c (build_field_ref): Pass NULL_TREE as SPECIAL arg to get_symbol_table_index().

2006-06-08  Andrew Haley  <aph@redhat.com>

        * expr.c (build_field_ref): Pass NULL_TREE as SPECIAL arg to
        get_symbol_table_index().
        (maybe_rewrite_invocation): Set SPECIAL if we need to access a
        private method.
        (build_known_method_ref): New arg: special.  Pass it to
        get_symbol_table_index.
        (get_symbol_table_index): Put SPECIAL in the TREE_PURPOSE field of
        the method list.
        (build_invokevirtual): New arg: special.  Pass it to
        get_symbol_table_index.
        (expand_invoke): New variable: special.
        Pass it to maybe_rewrite_invocation().
        Pass it to build_known_method_ref().
        * class.c (build_symbol_entry): Add new arg: special.  Use it to
        build the symbol table conbstructor.
        (emit_symbol_table): Extract SPECIAL from the method list and pass
        it to build_symbol_entry().
        * parse.y (patch_invoke): Call maybe_rewrite_invocation() and set
        special accordingly.

From-SVN: r114487
gcc/java/ChangeLog
gcc/java/class.c
gcc/java/expr.c
gcc/java/java-tree.h
gcc/java/parse.y