summaryrefslogtreecommitdiffstats
path: root/clang/lib/StaticAnalyzer/Core/ExplodedGraph.cpp
diff options
context:
space:
mode:
authorAnna Zaks <ganna@apple.com>2012-06-22 22:24:45 +0000
committerAnna Zaks <ganna@apple.com>2012-06-22 22:24:45 +0000
commit301e0d6074b7e92cb240b96d5169ae6a6fce0cfb (patch)
treea4009ee02b3753a949a9e1cc63cc43bc30c46deb /clang/lib/StaticAnalyzer/Core/ExplodedGraph.cpp
parentb033dede17c81534c4186803c91986c565a87cd6 (diff)
downloadbcm5719-llvm-301e0d6074b7e92cb240b96d5169ae6a6fce0cfb.tar.gz
bcm5719-llvm-301e0d6074b7e92cb240b96d5169ae6a6fce0cfb.zip
[analyzer] Remove a statistic - it's too expensive.
(Committed in r159038 by mistake.) llvm-svn: 159040
Diffstat (limited to 'clang/lib/StaticAnalyzer/Core/ExplodedGraph.cpp')
-rw-r--r--clang/lib/StaticAnalyzer/Core/ExplodedGraph.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/clang/lib/StaticAnalyzer/Core/ExplodedGraph.cpp b/clang/lib/StaticAnalyzer/Core/ExplodedGraph.cpp
index 3cdfb6ce36e..52f6ba4159d 100644
--- a/clang/lib/StaticAnalyzer/Core/ExplodedGraph.cpp
+++ b/clang/lib/StaticAnalyzer/Core/ExplodedGraph.cpp
@@ -11,7 +11,6 @@
// which represent a path-sensitive, intra-procedural "exploded graph."
//
//===----------------------------------------------------------------------===//
-#define DEBUG_TYPE "CoreEngine"
#include "clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h"
#include "clang/StaticAnalyzer/Core/PathSensitive/ObjCMessage.h"
@@ -27,9 +26,6 @@
using namespace clang;
using namespace ento;
-STATISTIC(NumNodesWithMoreThanTwoSucc,
- "The # of nodes with more than 2 successors.");
-
//===----------------------------------------------------------------------===//
// Node auditing.
//===----------------------------------------------------------------------===//
@@ -175,8 +171,6 @@ void ExplodedNode::addPredecessor(ExplodedNode *V, ExplodedGraph &G) {
assert (!V->isSink());
Preds.addNode(V, G);
V->Succs.addNode(this, G);
- if (V->Succs.size() == 3)
- NumNodesWithMoreThanTwoSucc++;
#ifndef NDEBUG
if (NodeAuditor) NodeAuditor->AddEdge(V, this);
#endif
OpenPOWER on IntegriCloud