Remove inexplicable data in CallGraphAnalysis.

I suspect this is a holdover from when I rewrote most of the call graph
code. In any event, it's unused since we store this in the call graph
itself.

Swift SVN r27072
This commit is contained in:
Mark Lacey
2015-04-07 07:27:05 +00:00
parent d394efec1f
commit f6e577ef42

View File

@@ -364,7 +364,6 @@ public:
/// The Call Graph Analysis provides information about the call graph. /// The Call Graph Analysis provides information about the call graph.
class CallGraphAnalysis : public SILAnalysis { class CallGraphAnalysis : public SILAnalysis {
SILModule *M; SILModule *M;
std::vector<SILFunction *> BottomUpFunctionOrder;
CallGraph *CG; CallGraph *CG;
public: public:
@@ -394,7 +393,6 @@ public:
virtual void invalidate(SILAnalysis::PreserveKind K) { virtual void invalidate(SILAnalysis::PreserveKind K) {
if (K & PreserveKind::Calls) return; if (K & PreserveKind::Calls) return;
BottomUpFunctionOrder.clear();
delete CG; delete CG;
CG = nullptr; CG = nullptr;
} }