mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
AST: GenericContexts store a GenericSignature instead of a GenericEnvironment
This eliminates the entire 'lazy generic environment' concept; essentially, all generic environments are now lazy, and since each signature has exactly one environment, their construction no longer needs to be co-ordinated with deserialization.
This commit is contained in:
@@ -249,12 +249,6 @@ FRONTEND_STATISTIC(Sema, NumFunctionsTypechecked)
|
||||
/// amount of work the GSB does analyzing type signatures.
|
||||
FRONTEND_STATISTIC(Sema, NumGenericSignatureBuilders)
|
||||
|
||||
/// Number of lazy generic environments registered.
|
||||
FRONTEND_STATISTIC(Sema, NumLazyGenericEnvironments)
|
||||
|
||||
/// Number of lazy generic environments deserialized.
|
||||
FRONTEND_STATISTIC(Sema, NumLazyGenericEnvironmentsLoaded)
|
||||
|
||||
/// Number of lazy requirement signatures registered.
|
||||
FRONTEND_STATISTIC(Sema, NumLazyRequirementSignatures)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user