Skip to content

Commit c433242

Browse files
authored
Merge pull request #80178 from jeffdav/fix-noasserts-build
Fix non-asserting build.
2 parents 35a44e5 + 0b28116 commit c433242

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

lib/IRGen/GenProto.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1777,7 +1777,11 @@ class AccessorConformanceInfo : public ConformanceInfo {
17771777
#ifndef NDEBUG
17781778
assert(entry.getKind() == SILWitnessTable::AssociatedConformance
17791779
&& "sil witness table does not match protocol");
1780+
#endif
1781+
17801782
auto associatedWitness = entry.getAssociatedConformanceWitness();
1783+
1784+
#ifndef NDEBUG
17811785
assert(associatedWitness.Requirement == requirement.getAssociation()
17821786
&& "sil witness table does not match protocol");
17831787
auto piIndex = PI.getAssociatedConformanceIndex(requirement);

0 commit comments

Comments
 (0)