diff options
author | Chris Lattner <sabre@nondot.org> | 2006-12-19 23:03:41 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2006-12-19 23:03:41 +0000 |
commit | 2edc43f02d7ff75b3ed6091522c2571f8c3bbc27 (patch) | |
tree | 3d600eaec0f3196acb9f3738f4d79a9ef73ff074 /projects/Stacker/lib/compiler/StackerCompiler.cpp | |
parent | 95b2c7da5e83670881270c1cd231a240be0556d9 (diff) |
switch statistic over, remove misspelt comment.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32704 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'projects/Stacker/lib/compiler/StackerCompiler.cpp')
-rw-r--r-- | projects/Stacker/lib/compiler/StackerCompiler.cpp | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/projects/Stacker/lib/compiler/StackerCompiler.cpp b/projects/Stacker/lib/compiler/StackerCompiler.cpp index 95a670119f..8c83447e88 100644 --- a/projects/Stacker/lib/compiler/StackerCompiler.cpp +++ b/projects/Stacker/lib/compiler/StackerCompiler.cpp @@ -12,10 +12,7 @@ // //===----------------------------------------------------------------------===// -//===----------------------------------------------------------------------===// -// 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("") |