aboutsummaryrefslogtreecommitdiff
path: root/gcc/toplev.c
diff options
context:
space:
mode:
authorBernd Schmidt <bernds@cygnus.co.uk>1999-12-20 13:18:17 +0000
committerBernd Schmidt <crux@gcc.gnu.org>1999-12-20 13:18:17 +0000
commit01d939e8fb624ea88487fd41ce93c238a5eb870a (patch)
treeef38c36222ccc381ac63f61190043f19cbf2124f /gcc/toplev.c
parent239a0f5ba54e5a19c4445835429ce113a68bebde (diff)
downloadgcc-01d939e8fb624ea88487fd41ce93c238a5eb870a.zip
gcc-01d939e8fb624ea88487fd41ce93c238a5eb870a.tar.gz
gcc-01d939e8fb624ea88487fd41ce93c238a5eb870a.tar.bz2
current_function -> cfun
From-SVN: r31033
Diffstat (limited to 'gcc/toplev.c')
-rw-r--r--gcc/toplev.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/toplev.c b/gcc/toplev.c
index 39354a5..a8dd7b2 100644
--- a/gcc/toplev.c
+++ b/gcc/toplev.c
@@ -2752,7 +2752,7 @@ rest_of_compilation (decl)
/* In function-at-a-time mode, we do not attempt to keep the BLOCK
tree in sensible shape. So, we just recalculate it here. */
- if (current_function->x_whole_function_mode_p)
+ if (cfun->x_whole_function_mode_p)
{
find_loop_tree_blocks ();
unroll_block_trees ();
@@ -3676,10 +3676,10 @@ rest_of_compilation (decl)
init_recog_no_volatile ();
/* We're done with this function. Free up memory if we can. */
- free_after_parsing (current_function);
+ free_after_parsing (cfun);
if (! DECL_DEFER_OUTPUT (decl))
- free_after_compilation (current_function);
- current_function = 0;
+ free_after_compilation (cfun);
+ cfun = 0;
if (ggc_p)
ggc_collect ();