Merge remote-tracking branch 'origin/master' into master-next

This commit is contained in:
swift-ci
2019-10-03 18:29:24 -07:00
35 changed files with 149 additions and 238 deletions

View File

@@ -406,7 +406,8 @@ static bool writeSIL(SILModule &SM, ModuleDecl *M, bool EmitVerboseSIL,
auto OS = getFileOutputStream(OutputFilename, M->getASTContext());
if (!OS) return true;
SM.print(*OS, EmitVerboseSIL, M, SortSIL);
return false;
return M->getASTContext().hadError();
}
static bool writeSIL(SILModule &SM, const PrimarySpecificPaths &PSPs,