We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d7065f1 + fae0628 commit 49941c5Copy full SHA for 49941c5
include/swift/SILOptimizer/Utils/Generics.h
@@ -197,6 +197,10 @@ class ReabstractionInfo {
197
return SpecializedGenericEnv;
198
}
199
200
+ GenericSignature *getSpecializedGenericSignature() const {
201
+ return SpecializedGenericSig;
202
+ }
203
+
204
SubstitutionList getCallerParamSubstitutions() const {
205
return CallerParamSubs;
206
@@ -236,6 +240,8 @@ class ReabstractionInfo {
236
240
/// Returns true if a given apply can be specialized.
237
241
static bool canBeSpecialized(ApplySite Apply, SILFunction *Callee,
238
242
SubstitutionList ParamSubs);
243
244
+ void verify() const;
239
245
};
246
247
/// Helper class for specializing a generic function given a list of
0 commit comments