[llvm-commits] CVS: llvm/lib/Bytecode/Reader/ReaderWrappers.cpp
Chris Lattner
sabre at nondot.org
Wed Feb 7 15:48:52 PST 2007
Changes in directory llvm/lib/Bytecode/Reader:
ReaderWrappers.cpp updated: 1.65 -> 1.66
---
Log message:
move an llvmc-specific function out of the bcreader into llvmc.
---
Diffs of the changes: (+0 -16)
ReaderWrappers.cpp | 16 ----------------
1 files changed, 16 deletions(-)
Index: llvm/lib/Bytecode/Reader/ReaderWrappers.cpp
diff -u llvm/lib/Bytecode/Reader/ReaderWrappers.cpp:1.65 llvm/lib/Bytecode/Reader/ReaderWrappers.cpp:1.66
--- llvm/lib/Bytecode/Reader/ReaderWrappers.cpp:1.65 Wed Feb 7 17:46:55 2007
+++ llvm/lib/Bytecode/Reader/ReaderWrappers.cpp Wed Feb 7 17:48:32 2007
@@ -256,22 +256,6 @@
}
-bool llvm::GetBytecodeDependentLibraries(const std::string &fname,
- Module::LibraryListType& deplibs,
- BCDecompressor_t *BCDC,
- std::string* ErrMsg) {
- ModuleProvider* MP = getBytecodeModuleProvider(fname, BCDC, ErrMsg);
- if (!MP) {
- deplibs.clear();
- return true;
- }
- Module* M = MP->releaseModule(ErrMsg);
- deplibs = M->getLibraries();
- delete M;
- delete MP;
- return false;
-}
-
static void getSymbols(Module*M, std::vector<std::string>& symbols) {
// Loop over global variables
for (Module::global_iterator GI = M->global_begin(), GE=M->global_end(); GI != GE; ++GI)
More information about the llvm-commits
mailing list