Skip to content

Commit 0b28116

Browse files
committed
Fix non-asserting build.
1 parent 2086df0 commit 0b28116

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)