Update swift for llvm trunk change r217548.

Swift SVN r21861
This commit is contained in:
Michael Gottesman
2014-09-11 00:30:00 +00:00
parent 82ce64beac
commit c02643e281
2 changed files with 3 additions and 3 deletions

View File

@@ -350,7 +350,7 @@ void swift::RunImmediately(CompilerInstance &CI, const ProcessCmdLine &CmdLine,
PMBuilder.OptLevel = 2;
PMBuilder.Inliner = llvm::createFunctionInliningPass(200);
llvm::PassManager ModulePasses;
ModulePasses.add(new llvm::DataLayoutPass(*Module->getDataLayout()));
ModulePasses.add(new llvm::DataLayoutPass());
PMBuilder.populateModulePassManager(ModulePasses);
ModulePasses.run(*Module);