Skip to content

Commit 864933e

Browse files
committed
Runtime: Update Leaks.mm for context descriptors change.
1 parent ce0c40e commit 864933e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

stdlib/public/runtime/Leaks.mm

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -133,8 +133,8 @@ static void dumpSwiftHeapObjects() {
133133
#include "swift/ABI/MetadataKind.def"
134134
}
135135

136-
if (const NominalTypeDescriptor *NTD =
137-
Metadata->getNominalTypeDescriptor()) {
136+
if (auto *NTD =
137+
Metadata->getTypeContextDescriptor()) {
138138
fprintf(stderr, "{"
139139
"\"type\": \"nominal\", "
140140
"\"name\": \"%s\", "

0 commit comments

Comments
 (0)