Adjust to new Module.h interface for dependent libraries.

llvm-svn: 15218
This commit is contained in:
Reid Spencer 2004-07-25 21:32:02 +00:00
parent 62c6da9a64
commit b95885b210
1 changed files with 2 additions and 2 deletions

View File

@ -923,8 +923,8 @@ void BytecodeWriter::outputModuleInfoBlock(const Module *M) {
output_typeid((unsigned)Table.getSlot(Type::VoidTy)); output_typeid((unsigned)Table.getSlot(Type::VoidTy));
// Put out the list of dependent libraries for the Module // Put out the list of dependent libraries for the Module
Module::const_literator LI = M->lbegin(); Module::lib_iterator LI = M->lib_begin();
Module::const_literator LE = M->lend(); Module::lib_iterator LE = M->lib_end();
output_vbr( unsigned(LE - LI) ); // Put out the number of dependent libraries output_vbr( unsigned(LE - LI) ); // Put out the number of dependent libraries
for ( ; LI != LE; ++LI ) { for ( ; LI != LE; ++LI ) {
output(*LI, /*aligned=*/false); output(*LI, /*aligned=*/false);