diff --git a/lib/VMCore/Dominators.cpp b/lib/VMCore/Dominators.cpp index 71eb3460e6c..9ed4c44fa5e 100644 --- a/lib/VMCore/Dominators.cpp +++ b/lib/VMCore/Dominators.cpp @@ -285,6 +285,7 @@ void DominatorTreeBase::reset() { Nodes.clear(); IDoms.clear(); Roots.clear(); + Vertex.clear(); RootNode = 0; }