mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-12 17:32:19 +00:00
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:
parent
8ad8a5219c
commit
cf0eb8deb5
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user