aboutsummaryrefslogtreecommitdiff
path: root/gcc/gimple.h
diff options
context:
space:
mode:
authorEric Botcazou <ebotcazou@adacore.com>2018-06-27 10:26:06 +0000
committerEric Botcazou <ebotcazou@gcc.gnu.org>2018-06-27 10:26:06 +0000
commited510b16a0b305327e0befcace5deb2cc28f18f1 (patch)
tree403b740f71ddce039cf19e3d7a3abbf59d6a183d /gcc/gimple.h
parent1765b0231029c0479ddcf5d54e8f4882c5feda94 (diff)
downloadgcc-ed510b16a0b305327e0befcace5deb2cc28f18f1.zip
gcc-ed510b16a0b305327e0befcace5deb2cc28f18f1.tar.gz
gcc-ed510b16a0b305327e0befcace5deb2cc28f18f1.tar.bz2
gimple.h (gimple_return_retbnd): Delete.
* gimple.h (gimple_return_retbnd): Delete. (gimple_return_set_retbnd): Likewise. * cgraphunit.c (cgraph_node::expand_thunk): Remove call to gimple_return_set_retbnd. * gimple-pretty-print.c (dump_gimple_return): Remove call to gimple_return_retbnd and adjust. * tree-inline.h (struct copy_body_data): Remove retbnd field. * tree-inline.c (remap_gimple_stmt): Remove handling of retbnd. Explicitly return NULL in a couple more cases. Move assertion on debug statements and remove unreachable code. (reset_debug_binding): Do not test id->retbnd. (expand_call_inline): Do not set it. From-SVN: r262181
Diffstat (limited to 'gcc/gimple.h')
-rw-r--r--gcc/gimple.h20
1 files changed, 0 insertions, 20 deletions
diff --git a/gcc/gimple.h b/gcc/gimple.h
index ab095f6..32e1908 100644
--- a/gcc/gimple.h
+++ b/gcc/gimple.h
@@ -6198,26 +6198,6 @@ gimple_return_set_retval (greturn *gs, tree retval)
}
-/* Return the return bounds for GIMPLE_RETURN GS. */
-
-static inline tree
-gimple_return_retbnd (const gimple *gs)
-{
- GIMPLE_CHECK (gs, GIMPLE_RETURN);
- return gimple_op (gs, 1);
-}
-
-
-/* Set RETVAL to be the return bounds for GIMPLE_RETURN GS. */
-
-static inline void
-gimple_return_set_retbnd (gimple *gs, tree retval)
-{
- GIMPLE_CHECK (gs, GIMPLE_RETURN);
- gimple_set_op (gs, 1, retval);
-}
-
-
/* Returns true when the gimple statement STMT is any of the OMP types. */
#define CASE_GIMPLE_OMP \