projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
feaf10e
)
Adjust to new Module.h interface for dependent libraries.
author
Reid Spencer
<rspencer@reidspencer.com>
Sun, 25 Jul 2004 21:32:02 +0000
(21:32 +0000)
committer
Reid Spencer
<rspencer@reidspencer.com>
Sun, 25 Jul 2004 21:32:02 +0000
(21:32 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15218
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Bytecode/Writer/Writer.cpp
patch
|
blob
|
history
diff --git
a/lib/Bytecode/Writer/Writer.cpp
b/lib/Bytecode/Writer/Writer.cpp
index 9bc5ce600a7adfcf12586804a10dc2f0787a371f..92811ada5a992e650e9513c79cba249303369684 100644
(file)
--- 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->l
begin();
- Module::
const_literator LE = M->l
end();
+ 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);