/*
- * 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.
*
* PURPOSE.
*/
-/*
- * 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
+/**
+ * @file
+ * @brief New checker of irnodes for correctness.
+ * @author Michael Beck
+ * @version $Id$
*/
-#ifndef _IRVRFY_T_H_
-#define _IRVRFY_T_H_
+#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
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) \
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); \
*/
void firm_set_default_verifyer(ir_opcode code, ir_op_ops *ops);
-#endif /* _IRVRFY_T_H_ */
+#endif