X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fir%2Firvrfy_t.h;h=e4675c49c39a3bfbe7a720c6c6ef2e47f2b7999f;hb=41eca21e7add2e4f30f14c46600a23839852b3fc;hp=e772596e16a0258b4caa4154db70a9ea5bef5432;hpb=863d31d7a5c8210432fef88b30fc3e8353131538;p=libfirm diff --git a/ir/ir/irvrfy_t.h b/ir/ir/irvrfy_t.h index e772596e1..e4675c49c 100644 --- a/ir/ir/irvrfy_t.h +++ b/ir/ir/irvrfy_t.h @@ -1,21 +1,37 @@ /* - * Project: libFIRM - * File name: ir/ir/irvrfy_t.h - * Purpose: New checker of irnodes for correctness. - * Author: Michael Beck - * Modified by: - * Created: - * CVS-ID: $Id$ - * Copyright: (c) 1998-2005 Universität Karlsruhe - * Licence: This file protected by GPL - GNU GENERAL PUBLIC LICENSE. + * Copyright (C) 1995-2008 University of Karlsruhe. All right reserved. + * + * This file is part of libFirm. + * + * This file may be distributed and/or modified under the terms of the + * GNU General Public License version 2 as published by the Free Software + * Foundation and appearing in the file LICENSE.GPL included in the + * packaging of this file. + * + * Licensees holding valid libFirm Professional Edition licenses may use + * this file in accordance with the libFirm Commercial License. + * Agreement provided with the Software. + * + * This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE + * WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR + * PURPOSE. */ -#ifndef _IRVRFY_T_H_ -#define _IRVRFY_T_H_ + +/** + * @file + * @brief New checker of irnodes for correctness. + * @author Michael Beck + * @version $Id$ + */ +#ifndef FIRM_IR_IRVRFY_T_H +#define FIRM_IR_IRVRFY_T_H #include "irflag_t.h" #include "irvrfy.h" #include "irdump.h" +#include "beutil.h" + extern const char *firm_vrfy_failure_msg; #ifdef NDEBUG @@ -35,7 +51,7 @@ extern const char *firm_vrfy_failure_msg; do { \ if (opt_do_node_verification == FIRM_VERIFICATION_ON) {\ if (!(expr) && current_ir_graph != get_const_code_irg()) \ - dump_ir_block_graph(current_ir_graph, "-assert"); \ + dump_ir_block_graph_sched(current_ir_graph, "-assert"); \ assert((expr) && string); } \ if (!(expr)) { \ if (opt_do_node_verification == FIRM_VERIFICATION_REPORT) \ @@ -54,7 +70,7 @@ do { \ fprintf(stderr, #expr " : " string "\n"); \ else if (opt_do_node_verification == FIRM_VERIFICATION_ON) { \ if (!(expr) && current_ir_graph != get_const_code_irg()) \ - dump_ir_block_graph(current_ir_graph, "-assert"); \ + dump_ir_block_graph_sched(current_ir_graph, "-assert"); \ assert((expr) && string); \ } \ return (ret); \ @@ -68,4 +84,4 @@ do { \ */ void firm_set_default_verifyer(ir_opcode code, ir_op_ops *ops); -#endif /* _IRVRFY_T_H_ */ +#endif