X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=include%2Flibfirm%2Firgwalk.h;h=c46ff44ca102c9b09e1b2e72b5ad25bdff28016d;hb=83811ec18bcb88ff5a45c8b10303636d34bf67ee;hp=b2572d49efccd564587f343f50c53764ee943fb4;hpb=1ec30d95387eb392ba5a1adc7958ebd91383d59c;p=libfirm diff --git a/include/libfirm/irgwalk.h b/include/libfirm/irgwalk.h index b2572d49e..c46ff44ca 100644 --- a/include/libfirm/irgwalk.h +++ b/include/libfirm/irgwalk.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. * @@ -121,6 +121,7 @@ void irg_walk_in_or_dep_graph(ir_graph *irg, irg_walk_func *pre, irg_walk_func * */ void all_irg_walk(irg_walk_func *pre, irg_walk_func *post, void *env); +#ifdef INTERPROCEDURAL_VIEW /** * Walks all irgs in interprocedural view. * @@ -132,6 +133,7 @@ void all_irg_walk(irg_walk_func *pre, irg_walk_func *post, void *env); * Visits each node only once. Sets current_ir_graph properly. Does not use the link field. */ void cg_walk(irg_walk_func *pre, irg_walk_func *post, void *env); +#endif /** Walks only over Block nodes in the graph. *