Rewrite to use the reachability cloner interface. Also, make this much more
[oota-llvm.git] / lib / Analysis / InstCount.cpp
index 4d49478a9e62b291a1fcd8f6afad014d39064eb4..9177e4480004704a30f9f85376c0271128f87544 100644 (file)
@@ -16,6 +16,8 @@
 #include "llvm/Support/InstVisitor.h"
 #include "Support/Statistic.h"
 
+namespace llvm {
+
 namespace {
   Statistic<> TotalInsts ("instcount", "Number of instructions (of all types)");
   Statistic<> TotalBlocks("instcount", "Number of basic blocks");
@@ -62,3 +64,5 @@ bool InstCount::runOnFunction(Function &F) {
   visit(F);
   return false;
 }
+
+} // End llvm namespace