From 9d4d1f8ef92256462a22dcc2895004f42ac3e4f6 Mon Sep 17 00:00:00 2001 From: Anatoly Sokolov Date: Fri, 16 Apr 2010 21:31:00 +0400 Subject: double-int.h (tree_to_double_int): Convert to macro. * double-int.h (tree_to_double_int): Convert to macro. * double-int.c (tree_to_double_int): Remove. From-SVN: r158437 --- gcc/double-int.c | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'gcc/double-int.c') diff --git a/gcc/double-int.c b/gcc/double-int.c index 96e5884..2af97ba 100644 --- a/gcc/double-int.c +++ b/gcc/double-int.c @@ -842,18 +842,6 @@ double_int_sext (double_int cst, unsigned prec) return r; } -/* Constructs long integer from tree CST. The extra bits over the precision of - the number are filled with sign bit if CST is signed, and with zeros if it - is unsigned. */ - -double_int -tree_to_double_int (const_tree cst) -{ - /* We do not need to call double_int_restrict here to ensure the semantics as - described, as this is the default one for trees. */ - return TREE_INT_CST (cst); -} - /* Returns true if CST fits in unsigned HOST_WIDE_INT. */ bool -- cgit v1.1