Skip to content

Commit 7709a9a

Browse files
committed
don't verify the SIL module during de-serialization
The module doesn't necessarily need to be in a valid state when de-serializing a function
1 parent 8ea848a commit 7709a9a

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

lib/Serialization/SerializedSILLoader.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,6 @@ SerializedSILLoader::SerializedSILLoader(
3434
for (auto File : Entry.second->getFiles()) {
3535
if (auto LoadedAST = dyn_cast<SerializedASTFile>(File)) {
3636
auto Des = new SILDeserializer(&LoadedAST->File, *SILMod, callbacks);
37-
#ifndef NDEBUG
38-
SILMod->verify();
39-
#endif
4037
LoadedSILSections.emplace_back(Des);
4138
}
4239
}

0 commit comments

Comments
 (0)