Remove changes that were accidently included in previous commit.

llvm-svn: 64835
This commit is contained in:
Devang Patel 2009-02-17 22:45:18 +00:00
parent 4d20395a5f
commit d57a720d57
1 changed files with 0 additions and 6 deletions

View File

@ -356,10 +356,6 @@ bool LTOCodeGenerator::generateAssemblyCode(raw_ostream& out,
// Add an appropriate TargetData instance for this module...
passes.add(new TargetData(*_target->getTargetData()));
std::string targetTriple = _linker.getModule()->getTargetTriple();
// if ( targetTriple.find("darwin") != targetTriple.size() )
passes.add(createStripSymbolsPass(true /* strip debug info only */));
// Propagate constants at call sites into the functions they call. This
// opens opportunities for globalopt (and inlining) by substituting function
// pointers passed as arguments to direct uses of functions.
@ -416,8 +412,6 @@ bool LTOCodeGenerator::generateAssemblyCode(raw_ostream& out,
// Make sure everything is still good.
passes.add(createVerifierPass());
setCodeGenDebugOptions("-debug-pass=Structure");
FunctionPassManager* codeGenPasses =
new FunctionPassManager(new ExistingModuleProvider(mergedModule));