diff options
author | Richard Henderson <rth@redhat.com> | 2004-07-06 20:19:55 -0700 |
---|---|---|
committer | Richard Henderson <rth@gcc.gnu.org> | 2004-07-06 20:19:55 -0700 |
commit | 84936f6f88f198da47855b9d7d2ff0e7e904fbb4 (patch) | |
tree | 16bf999751c6268bceecc41792cd135703d74051 /gcc/tree-optimize.c | |
parent | 634330f5e36ad192af31ac8386d7706b51de2515 (diff) | |
download | gcc-84936f6f88f198da47855b9d7d2ff0e7e904fbb4.zip gcc-84936f6f88f198da47855b9d7d2ff0e7e904fbb4.tar.gz gcc-84936f6f88f198da47855b9d7d2ff0e7e904fbb4.tar.bz2 |
langhooks-def.h (LANG_HOOKS_GIMPLE_BEFORE_INLINING): Remove.
* langhooks-def.h (LANG_HOOKS_GIMPLE_BEFORE_INLINING): Remove.
* langhooks.h (struct lang_hooks): Remove gimple_before_inlining.
* tree-inline.c (copy_body_r, setup_one_parameter,
initialize_inlined_parameters, expand_call_inline,
declare_inline_vars): Don't check it.
(expand_calls_inline): Remove old version, rename new version
from gimple_expand_calls_inline.
* tree-optimize.c (execute_gimple): Remove.
(pass_gimple): Don't run anything.
From-SVN: r84190
Diffstat (limited to 'gcc/tree-optimize.c')
-rw-r--r-- | gcc/tree-optimize.c | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/gcc/tree-optimize.c b/gcc/tree-optimize.c index cfac6f7..750c7af 100644 --- a/gcc/tree-optimize.c +++ b/gcc/tree-optimize.c @@ -57,22 +57,13 @@ bool in_gimple_form; /* The root of the compilation pass tree, once constructed. */ static struct tree_opt_pass *all_passes; -/* Pass: gimplify the function if it's not been done. */ - -static void -execute_gimple (void) -{ - /* We have this test here rather than as the gate because we always - want to dump the original gimplified function. */ - if (!lang_hooks.gimple_before_inlining) - gimplify_function_tree (current_function_decl); -} +/* Pass: dump the gimplified, inlined, functions. */ static struct tree_opt_pass pass_gimple = { "gimple", /* name */ NULL, /* gate */ - execute_gimple, /* execute */ + NULL, /* execute */ NULL, /* sub */ NULL, /* next */ 0, /* static_pass_number */ |