diff options
author | Reid Spencer <rspencer@reidspencer.com> | 2004-07-25 21:32:02 +0000 |
---|---|---|
committer | Reid Spencer <rspencer@reidspencer.com> | 2004-07-25 21:32:02 +0000 |
commit | b95885b210516fed5da5d55a3155a1341bf85318 (patch) | |
tree | f1f2d9aee71c03f1457128b8897127a706e4d538 /llvm/lib/Bytecode/Writer/Writer.cpp | |
parent | 62c6da9a6493eeed63bcd112740d119acd35f76c (diff) | |
download | bcm5719-llvm-b95885b210516fed5da5d55a3155a1341bf85318.tar.gz bcm5719-llvm-b95885b210516fed5da5d55a3155a1341bf85318.zip |
Adjust to new Module.h interface for dependent libraries.
llvm-svn: 15218
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 9bc5ce600a7..92811ada5a9 100644 --- a/llvm/lib/Bytecode/Writer/Writer.cpp +++ b/llvm/lib/Bytecode/Writer/Writer.cpp @@ -923,8 +923,8 @@ void BytecodeWriter::outputModuleInfoBlock(const Module *M) { 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); |