summaryrefslogtreecommitdiffstats
path: root/llvm/projects/Stacker/lib/compiler
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
commit874e55d5510ed659ada30f40af307fac2d9cee77 (patch)
tree11bdc2191ad3248c842bded41fac9d36815f603e /llvm/projects/Stacker/lib/compiler
parent1ef9cd400d66698214b5fcffa295135729f3cc0c (diff)
downloadbcm5719-llvm-874e55d5510ed659ada30f40af307fac2d9cee77.tar.gz
bcm5719-llvm-874e55d5510ed659ada30f40af307fac2d9cee77.zip
switch statistic over, remove misspelt comment.
llvm-svn: 32704
Diffstat (limited to 'llvm/projects/Stacker/lib/compiler')
-rw-r--r--llvm/projects/Stacker/lib/compiler/StackerCompiler.cpp8
1 files changed, 2 insertions, 6 deletions
diff --git a/llvm/projects/Stacker/lib/compiler/StackerCompiler.cpp b/llvm/projects/Stacker/lib/compiler/StackerCompiler.cpp
index 95a670119ff..8c83447e88d 100644
--- a/llvm/projects/Stacker/lib/compiler/StackerCompiler.cpp
+++ b/llvm/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("")
OpenPOWER on IntegriCloud