Commit e0381c84 authored by Christoph Mallon's avatar Christoph Mallon
Browse files

irverify: Simplify irn_verify_irg(n, get_irn_irg(n)) to irn_verify(n).

parent 1693ad23
......@@ -1079,7 +1079,7 @@ int irn_verify(const ir_node *n)
static void verify_wrap(ir_node *node, void *env)
{
bool *fine = (bool*)env;
*fine &= irn_verify_irg(node, get_irn_irg(node));
*fine &= irn_verify(node);
}
/**
......@@ -1090,7 +1090,7 @@ static void verify_wrap_ssa(ir_node *node, void *env)
{
bool *fine = (bool*)env;
*fine &= irn_verify_irg(node, get_irn_irg(node));
*fine &= irn_verify(node);
if (*fine) {
*fine &= check_dominance_for_node(node);
}
......
Supports Markdown
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