[llvm-commits] CVS: llvm/lib/Bytecode/Writer/Writer.cpp

Devang Patel dpatel at apple.com
Tue May 1 14:17:37 PDT 2007



Changes in directory llvm/lib/Bytecode/Writer:

Writer.cpp updated: 1.179 -> 1.180
---
Log message:

Do not use typeinfo to identify pass in pass manager.


---
Diffs of the changes:  (+1 -0)

 Writer.cpp |    1 +
 1 files changed, 1 insertion(+)


Index: llvm/lib/Bytecode/Writer/Writer.cpp
diff -u llvm/lib/Bytecode/Writer/Writer.cpp:1.179 llvm/lib/Bytecode/Writer/Writer.cpp:1.180
--- llvm/lib/Bytecode/Writer/Writer.cpp:1.179	Sun Apr 29 13:35:00 2007
+++ llvm/lib/Bytecode/Writer/Writer.cpp	Tue May  1 16:15:46 2007
@@ -47,6 +47,7 @@
 /// @brief The bytecode version number
 const unsigned BCVersionNum = 7;
 
+const int WriteBytecodePass::ID = 0;
 static RegisterPass<WriteBytecodePass> X("emitbytecode", "Bytecode Writer");
 
 STATISTIC(BytesWritten, "Number of bytecode bytes written");






More information about the llvm-commits mailing list