diff options
| author | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-07-07 03:19:55 +0000 |
|---|---|---|
| committer | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-07-07 03:19:55 +0000 |
| commit | 11fe6c8bfb6ef5cec6e5e862d2ca3497387a930f (patch) | |
| tree | 16bf999751c6268bceecc41792cd135703d74051 /gcc/tree-optimize.c | |
| parent | 964a088ed2e0951c37bffe5e72024dd801f4318a (diff) | |
| download | ppe42-gcc-11fe6c8bfb6ef5cec6e5e862d2ca3497387a930f.tar.gz ppe42-gcc-11fe6c8bfb6ef5cec6e5e862d2ca3497387a930f.zip | |
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@84190 138bc75d-0d04-0410-961f-82ee72b054a4
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 cfac6f7adba..750c7af7b4f 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 */ |

