From 88df93ce3baa8e070122533b31928d3876138488 Mon Sep 17 00:00:00 2001 From: Richard Guenther Date: Fri, 10 Sep 2010 10:54:24 +0000 Subject: tree.h (build_index_2_type): Remove. 2010-09-10 Richard Guenther * tree.h (build_index_2_type): Remove. * tree.c (build_index_2_type): Remove. ada/gcc-interface/ * utils.c (create_index_type): Use build_range_type. From-SVN: r164164 --- gcc/tree.c | 9 --------- 1 file changed, 9 deletions(-) (limited to 'gcc/tree.c') diff --git a/gcc/tree.c b/gcc/tree.c index 677e3bb..7ea69c8 100644 --- a/gcc/tree.c +++ b/gcc/tree.c @@ -7191,15 +7191,6 @@ subrange_type_for_debug_p (const_tree type, tree *lowval, tree *highval) return true; } -/* Just like build_index_type, but takes lowval and highval instead - of just highval (maxval). */ - -tree -build_index_2_type (tree lowval, tree highval) -{ - return build_range_type (sizetype, lowval, highval); -} - /* Construct, lay out and return the type of arrays of elements with ELT_TYPE and number of elements specified by the range of values of INDEX_TYPE. If such a type has already been constructed, reuse it. */ -- cgit v1.1