[llvm-commits] CVS: llvm/tools/gccas/gccas.cpp
Reid Spencer
reid at x10sys.com
Mon Nov 8 09:37:14 PST 2004
Changes in directory llvm/tools/gccas:
gccas.cpp updated: 1.101 -> 1.102
---
Log message:
Add a --disable-compression option to gccas so the default compression of
bytecode can be defeated.
---
Diffs of the changes: (+4 -1)
Index: llvm/tools/gccas/gccas.cpp
diff -u llvm/tools/gccas/gccas.cpp:1.101 llvm/tools/gccas/gccas.cpp:1.102
--- llvm/tools/gccas/gccas.cpp:1.101 Wed Oct 6 23:11:26 2004
+++ llvm/tools/gccas/gccas.cpp Mon Nov 8 11:37:04 2004
@@ -49,6 +49,9 @@
cl::opt<bool>
DisableDSE("disable-dse", cl::desc("Do not run dead store elimination"));
+ cl::opt<bool>
+ NoCompress("disable-compression", cl::init(false),
+ cl::desc("Don't ompress the generated bytecode"));
}
@@ -182,7 +185,7 @@
Passes.add(createVerifierPass());
// Write bytecode to file...
- Passes.add(new WriteBytecodePass(Out));
+ Passes.add(new WriteBytecodePass(Out,false,!NoCompress));
// Run our queue of passes all at once now, efficiently.
Passes.run(*M.get());
More information about the llvm-commits
mailing list