From 253d7fd068065bd8b26dae76216f446b5fe13d36 Mon Sep 17 00:00:00 2001 From: hubicka Date: Mon, 7 Jun 2010 16:17:55 +0000 Subject: * df-problems.c (df_lr_problem_data): Add lr_bitmaps. (df_lr_alloc): Initialize problem data; move bitmaps to lr_bitmaps obstack. (df_lr_finalize): Free problem data; do not bother to free bitmaps. (df_lr_verify_solution_start): Do not initialize problem data; allocate bitmaps in lr_bitmaps. (df_lr_verify_solution_end): Do not free problem data. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@160382 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/df-core.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'gcc/df-core.c') diff --git a/gcc/df-core.c b/gcc/df-core.c index 8c4b79bca77..6c9f5c927e9 100644 --- a/gcc/df-core.c +++ b/gcc/df-core.c @@ -1084,15 +1084,15 @@ df_analyze_problem (struct dataflow *dflow, { timevar_push (dflow->problem->tv_id); + /* (Re)Allocate the datastructures necessary to solve the problem. */ + if (dflow->problem->alloc_fun) + dflow->problem->alloc_fun (blocks_to_consider); + #ifdef ENABLE_DF_CHECKING if (dflow->problem->verify_start_fun) dflow->problem->verify_start_fun (); #endif - /* (Re)Allocate the datastructures necessary to solve the problem. */ - if (dflow->problem->alloc_fun) - dflow->problem->alloc_fun (blocks_to_consider); - /* Set up the problem and compute the local information. */ if (dflow->problem->local_compute_fun) dflow->problem->local_compute_fun (blocks_to_consider); -- cgit v1.2.1