[llvm-commits] CVS: llvm/projects/Stacker/lib/compiler/StackerCompiler.cpp
Chris Lattner
sabre at nondot.org
Tue Dec 19 15:03:56 PST 2006
Changes in directory llvm/projects/Stacker/lib/compiler:
StackerCompiler.cpp updated: 1.26 -> 1.27
---
Log message:
switch statistic over, remove misspelt comment.
---
Diffs of the changes: (+2 -6)
StackerCompiler.cpp | 8 ++------
1 files changed, 2 insertions(+), 6 deletions(-)
Index: llvm/projects/Stacker/lib/compiler/StackerCompiler.cpp
diff -u llvm/projects/Stacker/lib/compiler/StackerCompiler.cpp:1.26 llvm/projects/Stacker/lib/compiler/StackerCompiler.cpp:1.27
--- llvm/projects/Stacker/lib/compiler/StackerCompiler.cpp:1.26 Tue Dec 12 18:47:58 2006
+++ llvm/projects/Stacker/lib/compiler/StackerCompiler.cpp Tue Dec 19 17:03:41 2006
@@ -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 @@
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("")
More information about the llvm-commits
mailing list