if (opt_do_node_verification != NODE_VERIFICATION_ERROR_ONLY) { blk; } \
if (opt_do_node_verification == NODE_VERIFICATION_REPORT) \
fprintf(stderr, #expr " : " string "\n"); \
- else if (opt_do_node_verification == NODE_VERIFICATION_ON) \
+ else if (opt_do_node_verification == NODE_VERIFICATION_ON) { \
+ if (!(expr) && current_ir_graph != get_const_code_irg()) \
+ dump_ir_block_graph(current_ir_graph, "-assert"); \
assert((expr) && string); \
+ } \
return (ret); \
} \
} while(0)
#endif
/**
- * Set the default verify_node and verify_proj_node operation.
+ * Set the default verify_node and verify_proj_node operation for an ir_op_ops.
*/
-void firm_set_default_verifyer(ir_op *op);
+void firm_set_default_verifyer(opcode code, ir_op_ops *ops);
#endif /* _IRVRFY_T_H_ */