diff options
Diffstat (limited to 'gcc/type-reconstructor.hpp')
-rw-r--r-- | gcc/type-reconstructor.hpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gcc/type-reconstructor.hpp b/gcc/type-reconstructor.hpp index 79e6fad8a73..e70776a073b 100644 --- a/gcc/type-reconstructor.hpp +++ b/gcc/type-reconstructor.hpp @@ -12,6 +12,7 @@ class TypeReconstructor : public TypeWalker public: typedef std::map<const_tree, tree> reorg_record_map_t; typedef std::map<const_tree, tree> reorg_field_map_t; + typedef std::map<const_tree, bool> is_modified_map_t; typedef std::set<unsigned> field_offsets_t; typedef std::map<const_tree, field_offsets_t> record_field_offset_map_t; private: @@ -24,6 +25,10 @@ private: field_tuple_list_stack_t field_list_stack; reorg_record_map_t _reorg_map; reorg_field_map_t _reorg_fields; + is_modified_map_t modified_map; + void set_is_not_modified_yet(const_tree); + void mark_all_pointing_here_as_modified(); + bool get_is_modified(const_tree); virtual void _walk_field_pre(const_tree); virtual void _walk_field_post(const_tree); virtual void _walk_RECORD_TYPE_pre(const_tree); |