mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 20:32:21 +00:00
Remove changes that were accidently included in previous commit.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@64835 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
13319ceffd
commit
38ed388fb3
@ -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));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user