Fix warning on windows; use of comparison with bool argument.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@139286 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
James Molloy 2011-09-08 08:12:01 +00:00
parent ffe3e7da84
commit 0d76b19919

View File

@ -854,7 +854,7 @@ bool FilterChooser::emitSingletonDecoder(raw_ostream &o, unsigned &Indentation,
}
o.indent(Indentation) << "if (";
if (emitPredicateMatch(o, Indentation, Opc) > 0) {
if (emitPredicateMatch(o, Indentation, Opc)) {
o << " &&\n";
o.indent(Indentation+4);
}