mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 04:30:23 +00:00
Removed the -q option and the default message written to stderr. The
output produces confusing results in TestRunner.sh git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13828 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
7bbf388753
commit
0870594530
@ -62,9 +62,6 @@ 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"));
|
||||
|
||||
static cl::alias
|
||||
QuietA("quiet", cl::desc("Alias for -q"), cl::aliasopt(Quiet));
|
||||
|
||||
|
||||
//===----------------------------------------------------------------------===//
|
||||
// main for opt
|
||||
@ -164,8 +161,8 @@ 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()) && !Quiet)
|
||||
std::cerr << "Program modified.\n";
|
||||
if (Passes.run(*M.get()))
|
||||
return 0;
|
||||
|
||||
return 0;
|
||||
return 1;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user