switch statistic over, remove misspelt comment.
authorChris Lattner <sabre@nondot.org>
Tue, 19 Dec 2006 23:03:41 +0000 (23:03 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 19 Dec 2006 23:03:41 +0000 (23:03 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32704 91177308-0d34-0410-b5e6-96231b3b80d8

projects/Stacker/lib/compiler/StackerCompiler.cpp

index 95a670119ff5a9681040c228abe67b90f46cfa87..8c83447e88d5d05a28c8e0c51c8e894dd5415a51 100644 (file)
 //
 //===----------------------------------------------------------------------===//
 
-//===----------------------------------------------------------------------===//
-//            Globasl - Global variables we use
-//===----------------------------------------------------------------------===//
-
+#define DEBUG_TYPE "stacker"
 #include "llvm/PassManager.h"
 #include "llvm/Analysis/LoadValueNumbering.h"
 #include "llvm/Analysis/Verifier.h"
@@ -38,8 +35,7 @@ extern int Stackerparse();
 
 StackerCompiler* StackerCompiler::TheInstance = 0;
 
-static Statistic NumDefinitions(
-        "numdefs","The # of definitions encoutered while compiling Stacker");
+STATISTIC(NumDefinitions, "The number of definitions encountered");
 
 StackerCompiler::StackerCompiler()
     : CurFilename("")