[llvm-commits] CVS: llvm/lib/Bytecode/Writer/Writer.cpp
Chris Lattner
sabre at nondot.org
Tue Dec 19 15:17:04 PST 2006
Changes in directory llvm/lib/Bytecode/Writer:
Writer.cpp updated: 1.139 -> 1.140
---
Log message:
switch statistics over to not use static ctors.
---
Diffs of the changes: (+2 -2)
Writer.cpp | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
Index: llvm/lib/Bytecode/Writer/Writer.cpp
diff -u llvm/lib/Bytecode/Writer/Writer.cpp:1.139 llvm/lib/Bytecode/Writer/Writer.cpp:1.140
--- llvm/lib/Bytecode/Writer/Writer.cpp:1.139 Sun Dec 17 05:11:10 2006
+++ llvm/lib/Bytecode/Writer/Writer.cpp Tue Dec 19 17:16:47 2006
@@ -17,6 +17,7 @@
//
//===----------------------------------------------------------------------===//
+#define DEBUG_TYPE "bytecodewriter"
#include "WriterInternals.h"
#include "llvm/Bytecode/WriteBytecodePass.h"
#include "llvm/CallingConv.h"
@@ -45,8 +46,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 ===//
More information about the llvm-commits
mailing list