diff mbox

[57/89] Concretize parameter to gimple_call_copy_skip_args

Message ID 1398099480-49147-58-git-send-email-dmalcolm@redhat.com
State New
Headers show

Commit Message

David Malcolm April 21, 2014, 4:57 p.m. UTC
gcc/
	* gimple.c (gimple_call_copy_skip_args): Require a gimple_call.
	* gimple.h (gimple_call_copy_skip_args): Likewise.
---
 gcc/gimple.c | 2 +-
 gcc/gimple.h | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

Comments

Jeff Law May 12, 2014, 5:23 p.m. UTC | #1
On 04/21/14 10:57, David Malcolm wrote:
> gcc/
> 	* gimple.c (gimple_call_copy_skip_args): Require a gimple_call.
> 	* gimple.h (gimple_call_copy_skip_args): Likewise.
OK once prerequisites have gone in.

Jeff
diff mbox

Patch

diff --git a/gcc/gimple.c b/gcc/gimple.c
index 6de651d..75a9f5f 100644
--- a/gcc/gimple.c
+++ b/gcc/gimple.c
@@ -2044,7 +2044,7 @@  canonicalize_cond_expr_cond (tree t)
    the positions marked by the set ARGS_TO_SKIP.  */
 
 gimple_call
-gimple_call_copy_skip_args (gimple stmt, bitmap args_to_skip)
+gimple_call_copy_skip_args (gimple_call stmt, bitmap args_to_skip)
 {
   int i;
   int nargs = gimple_call_num_args (stmt);
diff --git a/gcc/gimple.h b/gcc/gimple.h
index 49385bd..cf21083 100644
--- a/gcc/gimple.h
+++ b/gcc/gimple.h
@@ -1696,7 +1696,7 @@  bool gimple_assign_rhs_could_trap_p (gimple);
 extern void dump_gimple_statistics (void);
 unsigned get_gimple_rhs_num_ops (enum tree_code);
 extern tree canonicalize_cond_expr_cond (tree);
-gimple_call gimple_call_copy_skip_args (gimple, bitmap);
+gimple_call gimple_call_copy_skip_args (gimple_call, bitmap);
 extern bool gimple_compare_field_offset (tree, tree);
 extern tree gimple_unsigned_type (tree);
 extern tree gimple_signed_type (tree);