diff options
author | Jakub Jelinek <jakub@redhat.com> | 2011-12-19 15:25:28 +0100 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2011-12-19 15:25:28 +0100 |
commit | a1a6c5b26a1b92a2e64f5373139f80aafd8bde81 (patch) | |
tree | 5a5dba2def17409a595c0e5e97e17cfa58374adf /gcc/gimplify.c | |
parent | 77753f4dae3cd3188442e3137e6a4c4040d6e644 (diff) | |
download | gcc-a1a6c5b26a1b92a2e64f5373139f80aafd8bde81.zip gcc-a1a6c5b26a1b92a2e64f5373139f80aafd8bde81.tar.gz gcc-a1a6c5b26a1b92a2e64f5373139f80aafd8bde81.tar.bz2 |
gimple.h (gimplify_seq_add_stmt): Rename to...
* gimple.h (gimplify_seq_add_stmt): Rename to...
(gimple_seq_add_stmt_without_update): ... this.
* gimplify.c (gimplify_seq_add_stmt): Rename to...
(gimple_seq_add_stmt_without_update): ... this.
(gimplify_seq_add_stmt): New inline wrapper for it.
* tree-vect-patterns.c (append_pattern_def_seq): Use
gimple_seq_add_stmt_without_update instead of gimplify_seq_add_stmt.
* cp-gimplify.c (gimplify_must_not_throw_expr): Use
gimple_seq_add_stmt_without_update instead of gimplify_seq_add_stmt.
From-SVN: r182482
Diffstat (limited to 'gcc/gimplify.c')
-rw-r--r-- | gcc/gimplify.c | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/gcc/gimplify.c b/gcc/gimplify.c index fe8d2f8..14d627e 100644 --- a/gcc/gimplify.c +++ b/gcc/gimplify.c @@ -162,7 +162,7 @@ gimple_tree_eq (const void *p1, const void *p2) before the def/use vectors have been constructed. */ void -gimplify_seq_add_stmt (gimple_seq *seq_p, gimple gs) +gimple_seq_add_stmt_without_update (gimple_seq *seq_p, gimple gs) { gimple_stmt_iterator si; @@ -177,6 +177,15 @@ gimplify_seq_add_stmt (gimple_seq *seq_p, gimple gs) gsi_insert_after_without_update (&si, gs, GSI_NEW_STMT); } +/* Shorter alias name for the above function for use in gimplify.c + only. */ + +static inline void +gimplify_seq_add_stmt (gimple_seq *seq_p, gimple gs) +{ + gimple_seq_add_stmt_without_update (seq_p, gs); +} + /* Append sequence SRC to the end of sequence *DST_P. If *DST_P is NULL, a new sequence is allocated. This function is similar to gimple_seq_add_seq, but does not scan the operands. |