Commit e1f0b0d0 authored by Matthias Braun's avatar Matthias Braun
Browse files

fixed wrong error message in verifier

parent 078dca01
......@@ -84,7 +84,7 @@ static bool check_input_mode(const ir_node *n, int input, const char *inputname,
inputname = num;
}
warn(n, "expected reference mode for input '%s' but found %+F (%+F)",
inputname, mode, in);
inputname, in_mode, in);
return false;
}
return true;
......
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