X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=include%2Flibfirm%2Fcallgraph.h;h=139f00a19e4e195269e14a9eb8b07962b20279d8;hb=1da43c3844e6865b0384d4370810fc936e828c32;hp=63ad0311af38c60410b67de919b36617c5fbd78d;hpb=8fd12b1714e2024889e81aa4b351d1b6640e1c79;p=libfirm diff --git a/include/libfirm/callgraph.h b/include/libfirm/callgraph.h index 63ad0311a..139f00a19 100644 --- a/include/libfirm/callgraph.h +++ b/include/libfirm/callgraph.h @@ -1,5 +1,5 @@ /* - * Copyright (C) 1995-2007 University of Karlsruhe. All right reserved. + * Copyright (C) 1995-2008 University of Karlsruhe. All right reserved. * * This file is part of libFirm. * @@ -94,7 +94,6 @@ int get_irg_loop_depth(ir_graph *irg); this irg. */ int get_irg_recursion_depth(ir_graph *irg); -#ifdef INTERPROCEDURAL_VIEW /** Returns the method execution frequency of a graph. */ double get_irg_method_execution_frequency(ir_graph *irg); @@ -127,7 +126,8 @@ typedef void callgraph_walk_func(ir_graph *g, void *env); * @param post - walker function, executed after the predecessor of a node are visited * @param env - environment, passed to pre and post */ -void callgraph_walk(callgraph_walk_func *pre, callgraph_walk_func *post, void *env); +void callgraph_walk(callgraph_walk_func *pre, callgraph_walk_func *post, + void *env); /** * Compute the backedges that represent recursions and a looptree. @@ -181,7 +181,4 @@ void set_irp_loop_nesting_depth_state(loop_nesting_depth_sta /** Marks the nesting depth state of the program representation as inconsistent. */ void set_irp_loop_nesting_depth_state_inconsistent(void); -#endif - - #endif /* _CALLGRAPH_H_ */