diff options
Diffstat (limited to 'tools/opt/opt.cpp')
-rw-r--r-- | tools/opt/opt.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tools/opt/opt.cpp b/tools/opt/opt.cpp index ffe53d5dd1..64c5e92c9f 100644 --- a/tools/opt/opt.cpp +++ b/tools/opt/opt.cpp @@ -395,9 +395,8 @@ 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 && CheckBitcodeOutputToConsole(Out,!Quiet)) { + if (!Force && !NoOutput && CheckBitcodeOutputToConsole(*Out, !Quiet)) NoOutput = true; - } // Create a PassManager to hold and optimize the collection of passes we are // about to build... |