aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>2010-06-21 16:28:32 +0000
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>2010-06-21 16:28:32 +0000
commita7534a68f03df3aad6e34ee5689d82797fe7d32f (patch)
tree29f14e53c48d6489b20c741647254ece6ecda2ea /include
parentfdc86f975f675d897a1c6b0ff54ea9e875334bfb (diff)
* 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@161094 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions