summaryrefslogtreecommitdiff
path: root/gcc/gimplify.c
diff options
context:
space:
mode:
authorbstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4>2008-10-05 19:40:25 +0000
committerbstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4>2008-10-05 19:40:25 +0000
commit278281ab17fe7a77ceb03fd0c724d9047e336a0b (patch)
tree21e4423a1a871c37d08bfd17c3fba909461113d1 /gcc/gimplify.c
parent1726f7e9d58d49d1446fedbed9c38fc44e2ffc3e (diff)
downloadgcc-278281ab17fe7a77ceb03fd0c724d9047e336a0b.tar.gz
2008-10-05 Basile Starynkevitch <basile@starynkevitch.net>
MELT branch merged with trunk r140892 git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@140894 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/gimplify.c')
-rw-r--r--gcc/gimplify.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/gimplify.c b/gcc/gimplify.c
index d723d9f16a9..2befb43ecff 100644
--- a/gcc/gimplify.c
+++ b/gcc/gimplify.c
@@ -772,7 +772,7 @@ declare_vars (tree vars, gimple scope, bool debug_info)
temps = nreverse (last);
- block = gimple_block (scope);
+ block = gimple_bind_block (scope);
gcc_assert (!block || TREE_CODE (block) == BLOCK);
if (!block || !debug_info)
{
@@ -7366,10 +7366,10 @@ gimplify_function_tree (tree fndecl)
x = implicit_built_in_decls[BUILT_IN_PROFILE_FUNC_ENTER];
gimplify_seq_add_stmt (&body, gimple_build_call (x, 0));
gimplify_seq_add_stmt (&body, tf);
- new_bind = gimple_build_bind (NULL, body, gimple_block (bind));
+ new_bind = gimple_build_bind (NULL, body, gimple_bind_block (bind));
/* Clear the block for BIND, since it is no longer directly inside
the function, but within a try block. */
- gimple_set_block (bind, NULL);
+ gimple_bind_set_block (bind, NULL);
/* Replace the current function body with the body
wrapped in the try/finally TF. */