mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-04-01 07:11:45 +00:00
Preserve the new moduleID field
llvm-svn: 5835
This commit is contained in:
parent
b5fc5522fb
commit
ce0beca3fc
@ -18,7 +18,7 @@
|
||||
///
|
||||
Module *CloneModule(const Module *M) {
|
||||
// First off, we need to create the new module...
|
||||
Module *New = new Module();
|
||||
Module *New = new Module(M->getModuleIdentifier());
|
||||
|
||||
// Create the value map that maps things from the old module over to the new
|
||||
// module.
|
||||
|
Loading…
x
Reference in New Issue
Block a user