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 | 1c560adfd1be8051644d7aefd32f2dcdb4070689 (patch) | |
tree | 112a5a3920505a5f465871da703894b761030f7f /lib/Bytecode/Writer/Writer.cpp | |
parent | 89e211e628db2424df72436d04d27ce1d24d6ad7 (diff) |
switch statistics over to not use static ctors.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32709 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Bytecode/Writer/Writer.cpp')
-rw-r--r-- | lib/Bytecode/Writer/Writer.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Bytecode/Writer/Writer.cpp b/lib/Bytecode/Writer/Writer.cpp index c6bc22e796..44a654bc5b 100644 --- a/lib/Bytecode/Writer/Writer.cpp +++ b/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 ===// |