X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fir%2Firverify_t.h;h=a7c216dc79f2dc43f7dc4042b5bde820aa9e5ca4;hb=fa6fdc19998fbdcac9388070fd7c680df98c33fa;hp=8adb50260d2b366e01fde2b5ae29829e51c60277;hpb=5f9013339e1d6492a0960bd6a4c470eb29351c7e;p=libfirm diff --git a/ir/ir/irverify_t.h b/ir/ir/irverify_t.h index 8adb50260..a7c216dc7 100644 --- a/ir/ir/irverify_t.h +++ b/ir/ir/irverify_t.h @@ -21,7 +21,6 @@ * @file * @brief New checker of irnodes for correctness. * @author Michael Beck - * @version $Id$ */ #ifndef FIRM_IR_IRVERIFY_T_H #define FIRM_IR_IRVERIFY_T_H @@ -51,7 +50,7 @@ extern const char *firm_verify_failure_msg; do { \ if (opt_do_node_verification == FIRM_VERIFICATION_ON) {\ if (!(expr) && current_ir_graph != get_const_code_irg()) \ - dump_ir_graph(current_ir_graph, "-assert"); \ + dump_ir_graph(current_ir_graph, "assert"); \ assert((expr) && string); } \ if (!(expr)) { \ if (opt_do_node_verification == FIRM_VERIFICATION_REPORT) \ @@ -65,12 +64,12 @@ do { \ do { \ if (!(expr)) { \ firm_verify_failure_msg = #expr " && " string; \ - if (opt_do_node_verification != FIRM_VERIFICATION_ERROR_ONLY) { blk; } \ + if (opt_do_node_verification != FIRM_VERIFICATION_ERROR_ONLY) { blk } \ if (opt_do_node_verification == FIRM_VERIFICATION_REPORT) \ 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_graph(current_ir_graph, "-assert"); \ + dump_ir_graph(current_ir_graph, "assert"); \ assert((expr) && string); \ } \ return (ret); \ @@ -80,8 +79,8 @@ do { \ #endif /** - * Set the default verify_node and verify_proj_node operation for an ir_op_ops. + * Set the default verify_node and verify_proj_node operations. */ -void firm_set_default_verifyer(ir_opcode code, ir_op_ops *ops); +void ir_register_verify_node_ops(void); #endif