GSB: Add a counter and clean up getConformanceAccessPath() a bit

This commit is contained in:
Slava Pestov
2021-05-07 17:54:40 -04:00
parent 08d1c33e6f
commit ac3cbe5858
2 changed files with 37 additions and 30 deletions

View File

@@ -224,6 +224,9 @@ FRONTEND_STATISTIC(Sema, NumAccessorBodiesSynthesized)
/// amount of work the GSB does analyzing type signatures.
FRONTEND_STATISTIC(Sema, NumGenericSignatureBuilders)
/// Number of conformance access paths we had to compute.
FRONTEND_STATISTIC(Sema, NumConformanceAccessPathsRecorded)
/// Number of lazy requirement signatures registered.
FRONTEND_STATISTIC(Sema, NumLazyRequirementSignatures)