mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-19 11:02:59 +02:00
Make LinkModules a static member function
llvm-svn: 18859
This commit is contained in:
parent
24726c4a89
commit
94a27a253c
@ -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");
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user