expr.c (expand_byte_code): Call cache_this_class_ref() and cache_cpool_data_ref().
authorAndrew Haley <aph@redhat.com>
Fri, 2 Feb 2007 16:34:17 +0000 (16:34 +0000)
committerAndrew Haley <aph@gcc.gnu.org>
Fri, 2 Feb 2007 16:34:17 +0000 (16:34 +0000)
commitb4e18eee4b56ed8d4003d1fb92acb5f7dbf43748
tree825931419e51fa7cc806a34c9dce994cb91d820f
parentad12460bed01fc26b69eaa8292986d19f6e24cb5
expr.c (expand_byte_code): Call cache_this_class_ref() and cache_cpool_data_ref().

2007-02-02  Andrew Haley  <aph@redhat.com>

        * expr.c (expand_byte_code): Call cache_this_class_ref() and
        cache_cpool_data_ref().
        Set TYPE_CPOOL_DATA_REF.
        (cache_cpool_data_ref): New function.
        * constants.c (build_ref_from_constant_pool): Remove special-case
        code for flag_indirect_classes.
        (build_constant_data_ref): Move special-case code for
        flag_indirect_classes here from build_ref_from_constant_pool.
        * decl.c (finish_method): Move class initialization from here to
        cache_this_class_ref.
        * class.c (cache_this_class_ref): New function.
        (build_class_ref): Use this_classdollar for the ouput class.

From-SVN: r121508
gcc/java/ChangeLog
gcc/java/class.c
gcc/java/constants.c
gcc/java/decl.c
gcc/java/expr.c
gcc/java/java-tree.h