Neuter the -q option. Stop printing the "program modified" message, ever

llvm-svn: 13844
This commit is contained in:
Chris Lattner 2004-05-27 20:32:10 +00:00
parent b2939fc651
commit 7ef83df9a2

View 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;
}