From: Chris Lattner Date: Tue, 19 Dec 2006 23:03:41 +0000 (+0000) Subject: switch statistic over, remove misspelt comment. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=2edc43f02d7ff75b3ed6091522c2571f8c3bbc27;p=oota-llvm.git switch statistic over, remove misspelt comment. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32704 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/projects/Stacker/lib/compiler/StackerCompiler.cpp b/projects/Stacker/lib/compiler/StackerCompiler.cpp index 95a670119ff..8c83447e88d 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("")