From aea16eba659e62ff6d1c3eca9fc2bbe2cbda2773 Mon Sep 17 00:00:00 2001 From: Reid Spencer Date: Wed, 5 Jan 2005 17:31:55 +0000 Subject: [PATCH] Make opt honor the quiet option when printing the bytecode warning. llvm-svn: 19294 --- tools/opt/opt.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/opt/opt.cpp b/tools/opt/opt.cpp index 949c9b1d5c6..56bc16b6bdd 100644 --- a/tools/opt/opt.cpp +++ b/tools/opt/opt.cpp @@ -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; }