Mercurial > projects > ldc
changeset 952:29da57670853
Automated merge with http://hg.dsource.org/projects/ldc
author | Christian Kamm <kamm incasoftware de> |
---|---|
date | Thu, 12 Feb 2009 18:39:14 +0100 |
parents | f31b29eb6980 (current diff) e71c61befd6d (diff) |
children | 5fa3e0ea06e9 |
files | |
diffstat | 1 files changed, 0 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/gen/toobj.cpp Wed Feb 11 08:32:33 2009 -0700 +++ b/gen/toobj.cpp Thu Feb 12 18:39:14 2009 +0100 @@ -196,12 +196,6 @@ } } - // always run this pass to eliminate dead code that breaks debug info - llvm::PassManager pm; - pm.add(new llvm::TargetData(ir.module)); - pm.add(llvm::createCFGSimplificationPass()); - pm.run(*ir.module); - // run optimizer ldc_optimize_module(ir.module, global.params.optimizeLevel, global.params.llvmInline);