1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 19:23:23 +01:00

Make opt honor the quiet option when printing the bytecode warning.

llvm-svn: 19294
This commit is contained in:
Reid Spencer 2005-01-05 17:31:55 +00:00
parent 141c4ec759
commit aea16eba65

View File

@ -118,7 +118,7 @@ int main(int argc, char **argv) {
// If the output is set to be emitted to standard out, and standard out is a
// console, print out a warning message and refuse to do it. We don't impress
// anyone by spewing tons of binary goo to a terminal.
if (!Force && !NoOutput && !Quiet && CheckBytecodeOutputToConsole(Out)) {
if (!Force && !NoOutput && CheckBytecodeOutputToConsole(Out,!Quiet)) {
NoOutput = true;
}