Neuter the -q option. Stop printing the "program modified" message, ever
authorChris Lattner <sabre@nondot.org>
Thu, 27 May 2004 20:32:10 +0000 (20:32 +0000)
committerChris Lattner <sabre@nondot.org>
Thu, 27 May 2004 20:32:10 +0000 (20:32 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13844 91177308-0d34-0410-b5e6-96231b3b80d8

tools/opt/opt.cpp

index ace55d00a66fac66ac010bde1436cbc6b20f79ef..f907adfc019a1595874bd893e3b72f0c52586d7a 100644 (file)
@@ -60,7 +60,7 @@ static cl::opt<bool>
 NoVerify("disable-verify", cl::desc("Do not verify result module"), cl::Hidden);
 
 static cl::opt<bool>
-Quiet("q", cl::desc("Don't print 'program modified' message"));
+Quiet("q", cl::desc("Obsolete option"), cl::Hidden);
 
 static cl::alias
 QuietA("quiet", cl::desc("Alias for -q"), cl::aliasopt(Quiet));
@@ -165,8 +165,7 @@ int main(int argc, char **argv) {
     Passes.add(new WriteBytecodePass(Out, Out != &std::cout));
 
   // Now that we have all of the passes ready, run them.
-  if (Passes.run(*M.get()) )
-    return 0;
+  Passes.run(*M.get());
 
   return 0;
 }