Commit 05fb826e authored by Christoph Mallon's avatar Christoph Mallon
Browse files

Remove extra dash from assert graph filenames.

parent fe49319b
......@@ -2108,7 +2108,7 @@ static void check_bads(ir_node *node, void *env)
fprintf(stderr, "irg_verify_bads: Block %ld has Bad predecessor\n", get_irn_node_nr(node));
}
if (get_node_verification_mode() == FIRM_VERIFICATION_ON) {
dump_ir_graph(irg, "-assert");
dump_ir_graph(irg, "assert");
assert(0 && "Bad CF detected");
}
}
......@@ -2125,7 +2125,7 @@ static void check_bads(ir_node *node, void *env)
fprintf(stderr, "irg_verify_bads: node %ld has Bad Block\n", get_irn_node_nr(node));
}
if (get_node_verification_mode() == FIRM_VERIFICATION_ON) {
dump_ir_graph(irg, "-assert");
dump_ir_graph(irg, "assert");
assert(0 && "Bad CF detected");
}
}
......@@ -2139,7 +2139,7 @@ static void check_bads(ir_node *node, void *env)
fprintf(stderr, "irg_verify_bads: node %ld is a Tuple\n", get_irn_node_nr(node));
}
if (get_node_verification_mode() == FIRM_VERIFICATION_ON) {
dump_ir_graph(irg, "-assert");
dump_ir_graph(irg, "assert");
assert(0 && "Tuple detected");
}
}
......@@ -2160,7 +2160,7 @@ static void check_bads(ir_node *node, void *env)
fprintf(stderr, "irg_verify_bads: Phi %ld has Bad Input\n", get_irn_node_nr(node));
}
if (get_node_verification_mode() == FIRM_VERIFICATION_ON) {
dump_ir_graph(irg, "-assert");
dump_ir_graph(irg, "assert");
assert(0 && "Bad CF detected");
}
}
......@@ -2174,7 +2174,7 @@ static void check_bads(ir_node *node, void *env)
fprintf(stderr, "irg_verify_bads: node %ld has Bad Input\n", get_irn_node_nr(node));
}
if (get_node_verification_mode() == FIRM_VERIFICATION_ON) {
dump_ir_graph(irg, "-assert");
dump_ir_graph(irg, "assert");
assert(0 && "Bad NON-CF detected");
}
}
......
......@@ -51,7 +51,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) \
......@@ -70,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_graph(current_ir_graph, "-assert"); \
dump_ir_graph(current_ir_graph, "assert"); \
assert((expr) && string); \
} \
return (ret); \
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment