diff options
Diffstat (limited to 'projects')
-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 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("") |