Skip to content

Commit b5f84de

Browse files
committed
Only decrement the recursion limit once for each parent visit
1 parent b4829c3 commit b5f84de

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/swift/Remote/MetadataReader.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2110,7 +2110,7 @@ class MetadataReader {
21102110
}
21112111

21122112
if (descriptor.isResolved()) {
2113-
return buildContextDescriptorMangling(descriptor.getResolved(), dem, recursion_limit - 1);
2113+
return buildContextDescriptorMangling(descriptor.getResolved(), dem, recursion_limit);
21142114
}
21152115

21162116
// Try to demangle the symbol name to figure out what context it would

0 commit comments

Comments
 (0)