@@ -844,10 +844,13 @@ class TypeConverter {
844
844
// / Returns the formal type, lowered AST type, and SILFunctionType
845
845
// / for a constant reference.
846
846
const SILConstantInfo &getConstantInfo (SILDeclRef constant);
847
-
847
+
848
+ // / Get the generic environment for a constant.
849
+ GenericSignature *getConstantGenericSignature (SILDeclRef constant);
850
+
848
851
// / Get the generic environment for a constant.
849
852
GenericEnvironment *getConstantGenericEnvironment (SILDeclRef constant);
850
-
853
+
851
854
// / Returns the SIL type of a constant reference.
852
855
SILType getConstantType (SILDeclRef constant) {
853
856
return getConstantInfo (constant).getSILType ();
@@ -944,17 +947,6 @@ class TypeConverter {
944
947
SILType getSubstitutedStorageType (AbstractStorageDecl *value,
945
948
Type lvalueType);
946
949
947
- // / Retrieve the set of archetypes closed over by the given function.
948
- GenericEnvironment *getEffectiveGenericEnvironment (AnyFunctionRef fn,
949
- CaptureInfo captureInfo);
950
-
951
- // / Retrieve the set of generic parameters closed over by the given function.
952
- CanGenericSignature getEffectiveGenericSignature (AnyFunctionRef fn,
953
- CaptureInfo captureInfo);
954
-
955
- // / Retrieve the set of generic parameters closed over by the context.
956
- CanGenericSignature getEffectiveGenericSignature (DeclContext *dc);
957
-
958
950
// / Push a generic function context. See GenericContextScope for an RAII
959
951
// / interface to this function.
960
952
// /
0 commit comments