aboutsummaryrefslogtreecommitdiffstats
path: root/projects
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2006-12-19 23:03:41 +0000
committerChris Lattner <sabre@nondot.org>2006-12-19 23:03:41 +0000
commit2edc43f02d7ff75b3ed6091522c2571f8c3bbc27 (patch)
tree3d600eaec0f3196acb9f3738f4d79a9ef73ff074 /projects
parent95b2c7da5e83670881270c1cd231a240be0556d9 (diff)
downloadexternal_llvm-2edc43f02d7ff75b3ed6091522c2571f8c3bbc27.zip
external_llvm-2edc43f02d7ff75b3ed6091522c2571f8c3bbc27.tar.gz
external_llvm-2edc43f02d7ff75b3ed6091522c2571f8c3bbc27.tar.bz2
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')
-rw-r--r--projects/Stacker/lib/compiler/StackerCompiler.cpp8
1 files changed, 2 insertions, 6 deletions
diff --git a/projects/Stacker/lib/compiler/StackerCompiler.cpp b/projects/Stacker/lib/compiler/StackerCompiler.cpp
index 95a6701..8c83447 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("")