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() {
1333
1333
assert (LazyFieldDescriptors.empty ());
1334
1334
// LazyFunctionDefinitions are allowed, but they must not be generic
1335
1335
for (SILFunction *f : LazyFunctionDefinitions) {
1336
- assert (hasValidSignatureForEmbedded (f));
1336
+ ASSERT (hasValidSignatureForEmbedded (f));
1337
1337
}
1338
1338
assert (LazyWitnessTables.empty ());
1339
1339
assert (LazyCanonicalSpecializedMetadataAccessors.empty ());
@@ -1483,7 +1483,7 @@ void IRGenerator::addLazyFunction(SILFunction *f) {
1483
1483
1484
1484
// Embedded Swift doesn't expect any generic functions to be referenced.
1485
1485
if (SIL.getASTContext ().LangOpts .hasFeature (Feature::Embedded)) {
1486
- assert (hasValidSignatureForEmbedded (f));
1486
+ ASSERT (hasValidSignatureForEmbedded (f));
1487
1487
}
1488
1488
1489
1489
assert (!FinishedEmittingLazyDefinitions);
You can’t perform that action at this time.
0 commit comments