diff options
author | tbsaunde <tbsaunde@138bc75d-0d04-0410-961f-82ee72b054a4> | 2015-10-01 15:12:31 +0000 |
---|---|---|
committer | tbsaunde <tbsaunde@138bc75d-0d04-0410-961f-82ee72b054a4> | 2015-10-01 15:12:31 +0000 |
commit | 04009ada97c55121041815652a9d78a432c61c38 (patch) | |
tree | 642d211297defb60131bfbbe916e43ab1da041fc /gcc/function.c | |
parent | 54d48997bb13dc7764c024930b2051fae3cd0c34 (diff) | |
download | gcc-04009ada97c55121041815652a9d78a432c61c38.tar.gz |
remove many typedefs
gcc/ChangeLog:
2015-10-01 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
* cfganal.c, compare-elim.c, coverage.c, cprop.c, df-scan.c,
function.c, read-rtl.c, statistics.c, trans-mem.c, tree-if-conv.c,
tree-into-ssa.c, tree-loop-distribution.c, tree-ssa-coalesce.c,
tree-ssa-loop-ivopts.c, tree-ssa-reassoc.c, tree-ssa-strlen.c,
tree-ssa-tail-merge.c, tree-vrp.c, var-tracking.c: Remove
unneeded typedefs.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@228344 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/function.c')
-rw-r--r-- | gcc/function.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/gcc/function.c b/gcc/function.c index e7b85328f3b..e76ba2b31ce 100644 --- a/gcc/function.c +++ b/gcc/function.c @@ -156,9 +156,7 @@ static void do_use_return_reg (rtx, void *); /* Stack of nested functions. */ /* Keep track of the cfun stack. */ -typedef struct function *function_p; - -static vec<function_p> function_context_stack; +static vec<function *> function_context_stack; /* Save the current context for compilation of a nested function. This is called from language-specific code. */ @@ -4745,7 +4743,7 @@ set_cfun (struct function *new_cfun) /* Initialized with NOGC, making this poisonous to the garbage collector. */ -static vec<function_p> cfun_stack; +static vec<function *> cfun_stack; /* Push the current cfun onto the stack, and set cfun to new_cfun. Also set current_function_decl accordingly. */ |