diff options
author | Trevor Saunders <tbsaunde+gcc@tbsaunde.org> | 2015-10-01 15:12:31 +0000 |
---|---|---|
committer | Trevor Saunders <tbsaunde@gcc.gnu.org> | 2015-10-01 15:12:31 +0000 |
commit | 526ceb68361419fd9be6d629ac9838c4e88e8425 (patch) | |
tree | 642d211297defb60131bfbbe916e43ab1da041fc /gcc/function.c | |
parent | f6f69fb09c5f81dff3b9edcd03f5107d96e10a55 (diff) | |
download | gcc-526ceb68361419fd9be6d629ac9838c4e88e8425.zip gcc-526ceb68361419fd9be6d629ac9838c4e88e8425.tar.gz gcc-526ceb68361419fd9be6d629ac9838c4e88e8425.tar.bz2 |
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.
From-SVN: r228344
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 e7b8532..e76ba2b 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. */ |