diff options
author | Nathan Froyd <froydnj@codesourcery.com> | 2010-07-05 13:15:31 +0000 |
---|---|---|
committer | Nathan Froyd <froydnj@gcc.gnu.org> | 2010-07-05 13:15:31 +0000 |
commit | cfe6dea201b66d256b3f36d22f938fd3daf0bed9 (patch) | |
tree | 527a3bcfc6e249f9cc5626495d59728ed04e36df /gcc | |
parent | e22f7f31334bc4d733974b489ba45dc9a611f97f (diff) | |
download | gcc-cfe6dea201b66d256b3f36d22f938fd3daf0bed9.zip gcc-cfe6dea201b66d256b3f36d22f938fd3daf0bed9.tar.gz gcc-cfe6dea201b66d256b3f36d22f938fd3daf0bed9.tar.bz2 |
tree.h (build_call_list): Remove.
* tree.h (build_call_list): Remove.
* tree.c (build_call_list): Remove.
From-SVN: r161837
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/tree.c | 21 | ||||
-rw-r--r-- | gcc/tree.h | 1 |
3 files changed, 5 insertions, 22 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 1a81e6d..a1b5a42 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2010-07-05 Nathan Froyd <froydnj@codesourcery.com> + + * tree.h (build_call_list): Remove. + * tree.c (build_call_list): Remove. + 2010-07-05 Richard Guenther <rguenther@suse.de> * double-int.h (double_int_sub): Declare. @@ -9578,27 +9578,6 @@ build_vl_exp_stat (enum tree_code code, int len MEM_STAT_DECL) return t; } - -/* Build a CALL_EXPR of class tcc_vl_exp with the indicated RETURN_TYPE - and FN and a null static chain slot. ARGLIST is a TREE_LIST of the - arguments. */ - -tree -build_call_list (tree return_type, tree fn, tree arglist) -{ - tree t; - int i; - - t = build_vl_exp (CALL_EXPR, list_length (arglist) + 3); - TREE_TYPE (t) = return_type; - CALL_EXPR_FN (t) = fn; - CALL_EXPR_STATIC_CHAIN (t) = NULL_TREE; - for (i = 0; arglist; arglist = TREE_CHAIN (arglist), i++) - CALL_EXPR_ARG (t, i) = TREE_VALUE (arglist); - process_call_operands (t); - return t; -} - /* Build a CALL_EXPR of class tcc_vl_exp with the indicated RETURN_TYPE and FN and a null static chain slot. NARGS is the number of call arguments which are specified as "..." arguments. */ @@ -4047,7 +4047,6 @@ extern tree build_omp_clause (location_t, enum omp_clause_code); extern tree build_vl_exp_stat (enum tree_code, int MEM_STAT_DECL); #define build_vl_exp(c,n) build_vl_exp_stat (c,n MEM_STAT_INFO) -extern tree build_call_list (tree, tree, tree); extern tree build_call_nary (tree, tree, int, ...); extern tree build_call_valist (tree, tree, int, va_list); #define build_call_array(T1,T2,N,T3)\ |