diff options
author | Jakub Jelinek <jakub@redhat.com> | 2010-06-21 18:28:32 +0200 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2010-06-21 18:28:32 +0200 |
commit | 2e1e8c5d7a0816021f450fc158441452993e9477 (patch) | |
tree | 29f14e53c48d6489b20c741647254ece6ecda2ea /gcc/dwarf2out.c | |
parent | 2b21299c80f98e22732559357c4af025c2749283 (diff) | |
download | gcc-2e1e8c5d7a0816021f450fc158441452993e9477.zip gcc-2e1e8c5d7a0816021f450fc158441452993e9477.tar.gz gcc-2e1e8c5d7a0816021f450fc158441452993e9477.tar.bz2 |
Makefile.in (build/genattrtab.o): Depend on vecprim.h.
* Makefile.in (build/genattrtab.o): Depend on vecprim.h.
* genattrtab.c: Include vecprim.h.
(cached_attrs, cached_attr_count, attrs_seen_once,
attrs_seen_more_than_once, attrs_to_cache, attrs_cached_inside,
attrs_cached_after): New variables.
(find_attrs_to_cache): New function.
(FLG_BITWISE, FLG_AFTER, FLG_INSIDE, FLG_OUTSIDE_AND): Define.
(write_test_expr): Add attrs_cached argument, return it too,
attempt to cache non-const attributes used more than once in
a single case handling.
(write_attr_get): Use find_attrs_to_cache, for caching candidates
emit cached_* variables. Adjust write_attr_set callers.
(write_attr_set): Add attrs_cached attribute, use find_attrs_to_cache
to find attributes that should be cached in this block. Adjust
write_test_expr callers.
(write_attr_case): Clear attrs_to_cache. Adjust write_attr_set
callers.
(make_automaton_attrs): Adjust write_test_expr caller.
From-SVN: r161094
Diffstat (limited to 'gcc/dwarf2out.c')
0 files changed, 0 insertions, 0 deletions