diff options
author | kazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-11-29 18:01:07 +0000 |
---|---|---|
committer | kazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-11-29 18:01:07 +0000 |
commit | b40fcdfaab05a150877c19f548a6d718630605d3 (patch) | |
tree | 56eca6233c7cf2d2a65f6c1573cba27961fd8dc6 /gcc/cfg.c | |
parent | d5ec53c770ea3ae785e2b3837ca8619beb912340 (diff) | |
download | gcc-b40fcdfaab05a150877c19f548a6d718630605d3.tar.gz |
* cfg.c (flow_obstack): Remove.
(flow_firstobj): Likewise.
(init_flow): Remove all uses of flow_obstack.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91477 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cfg.c')
-rw-r--r-- | gcc/cfg.c | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/gcc/cfg.c b/gcc/cfg.c index 563f5e2a6aa..c469661edc0 100644 --- a/gcc/cfg.c +++ b/gcc/cfg.c @@ -66,8 +66,6 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA /* The obstack on which the flow graph components are allocated. */ struct bitmap_obstack reg_obstack; -struct obstack flow_obstack; -static char *flow_firstobj; /* Number of basic blocks in the current function. */ @@ -102,22 +100,8 @@ enum profile_status profile_status; void init_flow (void) { - static int initialized; - n_edges = 0; - if (!initialized) - { - gcc_obstack_init (&flow_obstack); - flow_firstobj = obstack_alloc (&flow_obstack, 0); - initialized = 1; - } - else - { - obstack_free (&flow_obstack, flow_firstobj); - flow_firstobj = obstack_alloc (&flow_obstack, 0); - } - ENTRY_BLOCK_PTR = ggc_alloc_cleared (sizeof (*ENTRY_BLOCK_PTR)); ENTRY_BLOCK_PTR->index = ENTRY_BLOCK; EXIT_BLOCK_PTR = ggc_alloc_cleared (sizeof (*EXIT_BLOCK_PTR)); |