summaryrefslogtreecommitdiff
path: root/gcc/gimplify.c
diff options
context:
space:
mode:
authorbstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4>2011-12-21 09:07:52 +0000
committerbstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4>2011-12-21 09:07:52 +0000
commitc376c8d3136602addba5a4e49dcc3f920999069e (patch)
tree46f42fd6a5ffbbc0708e3f6c9dbb4f490f663b39 /gcc/gimplify.c
parent4a5d167df1662b4f709186178aa8ab842dd87a8b (diff)
downloadgcc-c376c8d3136602addba5a4e49dcc3f920999069e.tar.gz
2011-12-21 Basile Starynkevitch <basile@starynkevitch.net>
MELT branch merged with trunk rev 182564 using svnmerge git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@182569 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/gimplify.c')
-rw-r--r--gcc/gimplify.c11
1 files changed, 10 insertions, 1 deletions
diff --git a/gcc/gimplify.c b/gcc/gimplify.c
index fe8d2f801a3..14d627e7254 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.