[llvm-commits] CVS: llvm/tools/opt/opt.cpp
Chris Lattner
lattner at cs.uiuc.edu
Thu May 27 15:35:02 PDT 2004
Changes in directory llvm/tools/opt:
opt.cpp updated: 1.92 -> 1.93
---
Log message:
Neuter the -q option. Stop printing the "program modified" message, ever
---
Diffs of the changes: (+2 -3)
Index: llvm/tools/opt/opt.cpp
diff -u llvm/tools/opt/opt.cpp:1.92 llvm/tools/opt/opt.cpp:1.93
--- llvm/tools/opt/opt.cpp:1.92 Thu May 27 11:28:54 2004
+++ llvm/tools/opt/opt.cpp Thu May 27 15:32:10 2004
@@ -60,7 +60,7 @@
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 @@
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;
}
More information about the llvm-commits
mailing list