We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 767fba9 + ea5227a commit 21d0815Copy full SHA for 21d0815
lib/SIL/TypeLowering.cpp
@@ -1572,7 +1572,7 @@ getTypeLoweringForUncachedLoweredFunctionType(TypeKey key) {
1572
assert(isa<AnyFunctionType>(key.SubstType));
1573
assert(key.UncurryLevel == 0);
1574
1575
-#ifdef DEBUG
+#ifndef NDEBUG
1576
// Catch recursions.
1577
insert(key, nullptr);
1578
#endif
@@ -1600,7 +1600,7 @@ TypeConverter::getTypeLoweringForUncachedLoweredType(TypeKey key) {
1600
assert(!find(key) && "re-entrant or already cached");
1601
assert(isLoweredType(key.SubstType) && "didn't lower out l-value type?");
1602
1603
1604
// Catch reentrancy bugs.
1605
1606
0 commit comments