File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
include/swift/SILOptimizer/Analysis Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -132,7 +132,8 @@ class CallerAnalysis::FunctionInfo {
132
132
friend class CallerAnalysis ;
133
133
134
134
// / A list of all the functions this function calls or partially applies.
135
- llvm::SetVector<SILFunction *> Callees;
135
+ llvm::SmallSetVector<SILFunction *, 4 > Callees;
136
+
136
137
// / A list of all the callers this function has.
137
138
llvm::SmallSet<SILFunction *, 4 > Callers;
138
139
@@ -143,7 +144,7 @@ class CallerAnalysis::FunctionInfo {
143
144
// / function.
144
145
// / This is a little bit off-topic because a partial_apply is not really
145
146
// / a "call" of this function.
146
- llvm::DenseMap <SILFunction *, int > PartialAppliers;
147
+ llvm::SmallMapVector <SILFunction *, int , 1 > PartialAppliers;
147
148
148
149
public:
149
150
// / Returns true if this function has at least one caller.
You can’t perform that action at this time.
0 commit comments