aboutsummaryrefslogtreecommitdiff
path: root/gcc/java/jcf-io.c
diff options
context:
space:
mode:
authorPer Bothner <per@bothner.com>2001-01-21 13:24:30 -0800
committerPer Bothner <bothner@gcc.gnu.org>2001-01-21 13:24:30 -0800
commitb5c4fed92cb6d5fe30e6eac39d1299b2cf998c9d (patch)
treefb724a1bb57c4396ebb107ef33d32b2bef5e0b7a /gcc/java/jcf-io.c
parent3432b91b650d7b134217ee74392840f6a4d85c4b (diff)
downloadgcc-b5c4fed92cb6d5fe30e6eac39d1299b2cf998c9d.zip
gcc-b5c4fed92cb6d5fe30e6eac39d1299b2cf998c9d.tar.gz
gcc-b5c4fed92cb6d5fe30e6eac39d1299b2cf998c9d.tar.bz2
Minor optimization of static ggc roots.
* jcf-parse.c (parse_roots): New static field. (current_field, current_method, current_file_list): Replace by macros naming fields of parse_roots. (init_jcf_parse): Combine 3 ggc_add_tree_root calls to 1. * class.c (class_roots): New static field. (registered_class, fields_ident, info_ident, class_list): New macros naming fields of parse_roots. (build_static_field_ref): Don't register roots here. (layout_class): Static field list replaced by macro class_list. (init_class_processing): Call ggc_add_tree_root for 4 roots. Initialize fields_ident and info_ident here. From-SVN: r39174
Diffstat (limited to 'gcc/java/jcf-io.c')
0 files changed, 0 insertions, 0 deletions