File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed
lib/SILOptimizer/Transforms Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -90,6 +90,8 @@ static SILInstruction *findOnlyApply(SILFunction *F) {
90
90
// Function Signature Transform
91
91
// ===----------------------------------------------------------------------===//
92
92
93
+ namespace {
94
+
93
95
struct FunctionSignatureTransformDescriptor {
94
96
// / The original function that we are analyzing/transforming.
95
97
SILFunction *OriginalFunction;
@@ -114,6 +116,10 @@ struct FunctionSignatureTransformDescriptor {
114
116
MutableArrayRef<ResultDescriptor> ResultDescList;
115
117
};
116
118
119
+ } // end anonymous namespace
120
+
121
+ namespace {
122
+
117
123
class FunctionSignatureTransform {
118
124
// / A struct that contains all data that we use during our
119
125
// / transformation. This is an initial step towards splitting this struct into
@@ -341,6 +347,8 @@ class FunctionSignatureTransform {
341
347
}
342
348
};
343
349
350
+ } // end anonymous namespace
351
+
344
352
std::string FunctionSignatureTransform::createOptimizedSILFunctionName () {
345
353
SILFunction *F = TransformDescriptor.OriginalFunction ;
346
354
auto ArgumentDescList = TransformDescriptor.ArgumentDescList ;
You can’t perform that action at this time.
0 commit comments