diff options
Diffstat (limited to 'gcc/expr-rewriter.hpp')
-rw-r--r-- | gcc/expr-rewriter.hpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gcc/expr-rewriter.hpp b/gcc/expr-rewriter.hpp index 936392b7af2..d98620675fa 100644 --- a/gcc/expr-rewriter.hpp +++ b/gcc/expr-rewriter.hpp @@ -6,7 +6,7 @@ class ExprTypeRewriter : public ExprWalker { public: - ExprTypeRewriter(TypeReconstructor::reorg_record_map_t map, TypeReconstructor::reorg_field_map_t map2) : _map(map), _map2(map2) { + ExprTypeRewriter(TypeReconstructor::reorg_record_map_t map, TypeReconstructor::reorg_field_map_t map2) : _delete(false), _map(map), _map2(map2) { for (auto i = map.cbegin(), e = map.cend(); i != e; ++i) { const_tree original = i->first; @@ -18,6 +18,8 @@ public: void handle_pointer_arithmetic_diff(gimple *s, tree p, tree i); void handle_pointer_arithmetic_nonconstant(gimple *s, tree p, tree i, bool); bool is_interesting_type(tree); + bool delete_statement(); + bool _delete; private: TypeReconstructor::reorg_record_map_t _map; TypeReconstructor::reorg_field_map_t _map2; |