X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fir%2Firopt_dbg.h;h=9f64a7c5129eecdeca4b5525935134d4cb9682cd;hb=e570f00fb465d212dde403160e97ab45d36d1d7e;hp=86db855c810e35d7439f750b4f0a311c36f3710d;hpb=4b0c3aae5a8d42abd6c75d0a3f7e8bec81fa7ab7;p=libfirm diff --git a/ir/ir/iropt_dbg.h b/ir/ir/iropt_dbg.h index 86db855c8..9f64a7c51 100644 --- a/ir/ir/iropt_dbg.h +++ b/ir/ir/iropt_dbg.h @@ -1,3 +1,14 @@ +/* + * Project: libFIRM + * File name: ir/ir/iropt_dbg.h + * Purpose: Debug makros used in iropt. + * Author: Goetz Lindenmaier + * Modified by: + * Created: + * CVS-ID: $Id$ + * Copyright: (c) 2001-2003 Universität Karlsruhe + * Licence: This file protected by GPL - GNU GENERAL PUBLIC LICENSE. + */ /* This file contains makros that generate the calls to @@ -5,6 +16,9 @@ #define SIZ(x) sizeof(x)/sizeof((x)[0]) +/** + * Merge the debug info due to a straightening optimization + */ #define DBG_OPT_STG \ do { \ ir_node *ons[2]; \ @@ -13,6 +27,9 @@ __dbg_info_merge_sets(&n, 1, ons, SIZ(ons), dbg_straightening); \ } while(0) +/** + * Merge the debug info due to an if simplification + */ #define DBG_OPT_IFSIM \ do { \ ir_node *ons[4]; \ @@ -23,6 +40,9 @@ __dbg_info_merge_sets(&n, 1, ons, SIZ(ons), dbg_if_simplification); \ } while(0) +/** + * Merge the debug info due to an algebraic_simplification + */ #define DBG_OPT_ALGSIM1 \ do { \ ir_node *ons[3]; \ @@ -37,7 +57,7 @@ ir_node *ons[3]; \ ons[0] = oldn; \ ons[1] = get_unop_op(n); \ - ons[2] = n; \ + ons[2] = n; \ __dbg_info_merge_sets(&n, 1, ons, SIZ(ons), dbg_algebraic_simplification); \ } while(0)