diff options
author | Reid Spencer <rspencer@reidspencer.com> | 2004-12-13 03:00:16 +0000 |
---|---|---|
committer | Reid Spencer <rspencer@reidspencer.com> | 2004-12-13 03:00:16 +0000 |
commit | c4e31534559ca7a71cd5673ebeee5d4473e49cb7 (patch) | |
tree | 6099eab37deb4c7ff55c405426b29a0097ff6d98 /llvm/lib/Linker/LinkModules.cpp | |
parent | 9a5613962f8b13ea8d4c2d20b26030bfc07cfa24 (diff) | |
download | bcm5719-llvm-c4e31534559ca7a71cd5673ebeee5d4473e49cb7.tar.gz bcm5719-llvm-c4e31534559ca7a71cd5673ebeee5d4473e49cb7.zip |
Make LinkModules a static member function
llvm-svn: 18859
Diffstat (limited to 'llvm/lib/Linker/LinkModules.cpp')
-rw-r--r-- | llvm/lib/Linker/LinkModules.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/lib/Linker/LinkModules.cpp b/llvm/lib/Linker/LinkModules.cpp index 49d8de1c66d..ae80cd7da39 100644 --- a/llvm/lib/Linker/LinkModules.cpp +++ b/llvm/lib/Linker/LinkModules.cpp @@ -821,7 +821,8 @@ static bool LinkAppendingVars(Module *M, // error occurs, true is returned and ErrorMsg (if not null) is set to indicate // the problem. Upon failure, the Dest module could be in a modified state, and // shouldn't be relied on to be consistent. -bool llvm::LinkModules(Module *Dest, Module *Src, std::string *ErrorMsg) { +bool +Linker::LinkModules(Module *Dest, Module *Src, std::string *ErrorMsg) { assert(Dest != 0 && "Invalid Destination module"); assert(Src != 0 && "Invalid Source Module"); |