Turn on compression by default.

Change --compress to --no-compress so compression can be turned off.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17564 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Reid Spencer 2004-11-07 05:37:27 +00:00
parent 8ad8a5219c
commit cf0eb8deb5

View File

@ -40,8 +40,8 @@ Force("f", cl::desc("Overwrite output files"));
static cl::opt<bool>
DumpAsm("d", cl::desc("Print assembly as parsed"), cl::Hidden);
static cl::opt<bool> Compress("compress", cl::Optional,
cl::desc("Compress the generated bytecode"));
static cl::opt<bool> NoCompress("no-compress", cl::init(false),
cl::desc("Don't ompress the generated bytecode"));
static cl::opt<bool>
DisableVerify("disable-verify", cl::Hidden,
@ -122,7 +122,7 @@ int main(int argc, char **argv) {
return 1;
}
WriteBytecodeToFile(M.get(), *Out, Compress);
WriteBytecodeToFile(M.get(), *Out, !NoCompress);
} catch (const ParseException &E) {
std::cerr << argv[0] << ": " << E.getMessage() << "\n";
return 1;