[llvm-commits] CVS: llvm/lib/Bytecode/Writer/Writer.cpp
LLVM
llvm at cs.uiuc.edu
Sun Jul 25 14:32:12 PDT 2004
Changes in directory llvm/lib/Bytecode/Writer:
Writer.cpp updated: 1.71 -> 1.72
---
Log message:
Adjust to new Module.h interface for dependent libraries.
---
Diffs of the changes: (+2 -2)
Index: llvm/lib/Bytecode/Writer/Writer.cpp
diff -u llvm/lib/Bytecode/Writer/Writer.cpp:1.71 llvm/lib/Bytecode/Writer/Writer.cpp:1.72
--- llvm/lib/Bytecode/Writer/Writer.cpp:1.71 Sun Jul 25 13:07:36 2004
+++ llvm/lib/Bytecode/Writer/Writer.cpp Sun Jul 25 16:32:02 2004
@@ -923,8 +923,8 @@
output_typeid((unsigned)Table.getSlot(Type::VoidTy));
// Put out the list of dependent libraries for the Module
- Module::const_literator LI = M->lbegin();
- Module::const_literator LE = M->lend();
+ Module::lib_iterator LI = M->lib_begin();
+ Module::lib_iterator LE = M->lib_end();
output_vbr( unsigned(LE - LI) ); // Put out the number of dependent libraries
for ( ; LI != LE; ++LI ) {
output(*LI, /*aligned=*/false);
More information about the llvm-commits
mailing list