Changes in directory llvm/tools/opt:
opt.cpp updated: 1.117 -> 1.118 --- Log message: Add a --disable-compression option like llvm-link/llvm-as etc have --- Diffs of the changes: (+3 -1) opt.cpp | 4 +++- 1 files changed, 3 insertions(+), 1 deletion(-) Index: llvm/tools/opt/opt.cpp diff -u llvm/tools/opt/opt.cpp:1.117 llvm/tools/opt/opt.cpp:1.118 --- llvm/tools/opt/opt.cpp:1.117 Sun Aug 27 17:40:26 2006 +++ llvm/tools/opt/opt.cpp Mon Aug 28 12:31:55 2006 @@ -38,6 +38,8 @@ static cl::list<const PassInfo*, bool, PassNameParser> PassList(cl::desc("Optimizations available:")); +static cl::opt<bool> NoCompress("disable-compression", cl::init(false), + cl::desc("Don't compress the generated bytecode")); // Other command line options... // @@ -250,7 +252,7 @@ // Write bytecode out to disk or cout as the last step... if (!NoOutput && !AnalyzeOnly) - Passes.add(new WriteBytecodePass(Out, Out != &std::cout)); + Passes.add(new WriteBytecodePass(Out, Out != &std::cout, !NoCompress)); // Now that we have all of the passes ready, run them. Passes.run(*M.get()); _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits