From ed510b16a0b305327e0befcace5deb2cc28f18f1 Mon Sep 17 00:00:00 2001 From: Eric Botcazou Date: Wed, 27 Jun 2018 10:26:06 +0000 Subject: 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 --- gcc/gimple.h | 20 -------------------- 1 file changed, 20 deletions(-) (limited to 'gcc/gimple.h') 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 \ -- cgit v1.1