File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed
include/swift/SILOptimizer/Analysis Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -104,15 +104,17 @@ class EscapeAnalysis : public BottomUpIPAnalysis {
104
104
Global
105
105
};
106
106
107
- class CGNode ;
108
- class CGNodeMap ;
109
107
public:
108
+ class CGNode ;
110
109
class ConnectionGraph ;
111
110
private:
111
+ class CGNodeMap ;
112
112
113
113
// / The int-part is an EdgeType and specifies which kind of predecessor it is.
114
114
typedef llvm::PointerIntPair<CGNode *, 1 > Predecessor;
115
115
116
+ public:
117
+
116
118
// / A node in the connection graph.
117
119
// / A node basically represents a "pointer" or the "memory content" where a
118
120
// / pointer points to (see NodeType).
@@ -302,7 +304,9 @@ class EscapeAnalysis : public BottomUpIPAnalysis {
302
304
CGNode *getContentNodeOrNull () const {
303
305
return pointsTo;
304
306
}
305
- };
307
+ };
308
+
309
+ private:
306
310
307
311
// / Mapping from nodes in a callee-graph to nodes in a caller-graph.
308
312
class CGNodeMap {
You can’t perform that action at this time.
0 commit comments