Revert "Verify SIL modules at the beginning and at the end of the SIL optimization pipelines, if -sil-verify-all is provided"

This reverts commit r31863, which was committed by mistake.

Swift SVN r31864
This commit is contained in:
Roman Levenstein
2015-09-10 22:32:36 +00:00
parent 141b8f814d
commit 4cef619c19
13 changed files with 33 additions and 46 deletions

View File

@@ -232,8 +232,9 @@ public:
/// \brief Create and return an empty SIL module that we can
/// later parse SIL bodies directly into, without converting from an AST.
static std::unique_ptr<SILModule> createEmptyModule(Module *M,
SILOptions &Options) {
return std::unique_ptr<SILModule>(new SILModule(M, Options, M, false));
SILOptions &Options,
bool WholeModule = false) {
return std::unique_ptr<SILModule>(new SILModule(M, Options, M, WholeModule));
}
/// Get the Swift module associated with this SIL module.