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 | 5ac8812c549caadd260042bec9134e96a78b060e (patch) | |
tree | 859ea16e28e368c1058046fd9550c98be23db170 /lib/Bytecode | |
parent | feaf10e5717453b53df664399d872ec9003d59a6 (diff) |
Adjust to new Module.h interface for dependent libraries.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15218 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Bytecode')
-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 9bc5ce600a..92811ada5a 100644 --- a/lib/Bytecode/Writer/Writer.cpp +++ b/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); |