aboutsummaryrefslogtreecommitdiff
path: root/gcc/gimple-array-bounds.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/gimple-array-bounds.h')
-rw-r--r--gcc/gimple-array-bounds.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/gcc/gimple-array-bounds.h b/gcc/gimple-array-bounds.h
index 1bfa2d4..d8f7ff7 100644
--- a/gcc/gimple-array-bounds.h
+++ b/gcc/gimple-array-bounds.h
@@ -25,19 +25,19 @@ class array_bounds_checker
friend class check_array_bounds_dom_walker;
public:
- array_bounds_checker (struct function *fun, class vr_values *v)
+ array_bounds_checker (struct function *fun, range_query *v)
: fun (fun), ranges (v) { }
void check ();
private:
static tree check_array_bounds (tree *tp, int *walk_subtree, void *data);
- bool check_array_ref (location_t, tree, bool ignore_off_by_one);
+ bool check_array_ref (location_t, tree, gimple *, bool ignore_off_by_one);
bool check_mem_ref (location_t, tree, bool ignore_off_by_one);
- void check_addr_expr (location_t, tree);
- const value_range *get_value_range (const_tree op);
+ void check_addr_expr (location_t, tree, gimple *);
+ const value_range *get_value_range (const_tree op, gimple *);
struct function *fun;
- class vr_values *ranges;
+ range_query *ranges;
};
#endif // GCC_GIMPLE_ARRAY_BOUNDS_H