From 4f217f6965e82cb382ac08e5949f87cf9b154da3 Mon Sep 17 00:00:00 2001 From: hubicka Date: Thu, 12 May 2005 22:32:16 +0000 Subject: * basic-block.h (FOR_ALL_BB_FN): New macro. (init_flow): Initialize cfg structure. * function.c (allocate_struct_function): Do not initialize cfg structure. * tree-cfg.c (init_empty_tree_cfg): Break out from ... (build_tree_cfg): ... here. * tree-flow.h (init_empty_tree_cfg): Declare. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99633 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/function.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'gcc/function.c') diff --git a/gcc/function.c b/gcc/function.c index 6bc33442d7b..059886f89e1 100644 --- a/gcc/function.c +++ b/gcc/function.c @@ -3741,9 +3741,6 @@ allocate_struct_function (tree fndecl) tree fntype = fndecl ? TREE_TYPE (fndecl) : NULL_TREE; cfun = ggc_alloc_cleared (sizeof (struct function)); - cfun->cfg = ggc_alloc_cleared (sizeof (struct control_flow_graph)); - - n_edges = 0; cfun->stack_alignment_needed = STACK_BOUNDARY; cfun->preferred_stack_boundary = STACK_BOUNDARY; -- cgit v1.2.3