diff options
author | Chris Lattner <sabre@nondot.org> | 2006-12-19 23:16:47 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2006-12-19 23:16:47 +0000 |
commit | 575d3218abacb04445500f66a7b3901a5326c8de (patch) | |
tree | 544d05b85e49552e8875e7312d06cb8b6358bb17 /llvm/lib/Bytecode/Writer/Writer.cpp | |
parent | 85f3c060039aea35cf9855c64028561eb99384d7 (diff) | |
download | bcm5719-llvm-575d3218abacb04445500f66a7b3901a5326c8de.tar.gz bcm5719-llvm-575d3218abacb04445500f66a7b3901a5326c8de.zip |
switch statistics over to not use static ctors.
llvm-svn: 32709
Diffstat (limited to 'llvm/lib/Bytecode/Writer/Writer.cpp')
-rw-r--r-- | llvm/lib/Bytecode/Writer/Writer.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Bytecode/Writer/Writer.cpp b/llvm/lib/Bytecode/Writer/Writer.cpp index c6bc22e7967..44a654bc5b7 100644 --- a/llvm/lib/Bytecode/Writer/Writer.cpp +++ b/llvm/lib/Bytecode/Writer/Writer.cpp @@ -17,6 +17,7 @@ // //===----------------------------------------------------------------------===// +#define DEBUG_TYPE "bytecodewriter" #include "WriterInternals.h" #include "llvm/Bytecode/WriteBytecodePass.h" #include "llvm/CallingConv.h" @@ -45,8 +46,7 @@ const unsigned BCVersionNum = 7; static RegisterPass<WriteBytecodePass> X("emitbytecode", "Bytecode Writer"); -static Statistic -BytesWritten("bytecodewriter", "Number of bytecode bytes written"); +STATISTIC(BytesWritten, "Number of bytecode bytes written"); //===----------------------------------------------------------------------===// //=== Output Primitives ===// |