diff options
author | bothner <bothner@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-01-21 21:24:30 +0000 |
---|---|---|
committer | bothner <bothner@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-01-21 21:24:30 +0000 |
commit | 0453a7cadf2313032d1c5782d710f54a951f8808 (patch) | |
tree | fb724a1bb57c4396ebb107ef33d32b2bef5e0b7a /gcc/java/zipfile.h | |
parent | f4e60d16058aa1999c6fe7f51af86a0604116eab (diff) | |
download | gcc-0453a7cadf2313032d1c5782d710f54a951f8808.tar.gz |
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39174 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/java/zipfile.h')
0 files changed, 0 insertions, 0 deletions