File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1333,7 +1333,7 @@ void IRGenerator::emitLazyDefinitions() {
13331333 assert (LazyFieldDescriptors.empty ());
13341334 // LazyFunctionDefinitions are allowed, but they must not be generic
13351335 for (SILFunction *f : LazyFunctionDefinitions) {
1336- assert (hasValidSignatureForEmbedded (f));
1336+ ASSERT (hasValidSignatureForEmbedded (f));
13371337 }
13381338 assert (LazyWitnessTables.empty ());
13391339 assert (LazyCanonicalSpecializedMetadataAccessors.empty ());
@@ -1483,7 +1483,7 @@ void IRGenerator::addLazyFunction(SILFunction *f) {
14831483
14841484 // Embedded Swift doesn't expect any generic functions to be referenced.
14851485 if (SIL.getASTContext ().LangOpts .hasFeature (Feature::Embedded)) {
1486- assert (hasValidSignatureForEmbedded (f));
1486+ ASSERT (hasValidSignatureForEmbedded (f));
14871487 }
14881488
14891489 assert (!FinishedEmittingLazyDefinitions);
You can’t perform that action at this time.
0 commit comments