mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-25 04:02:41 +01:00
When cloning a module, clone the inline asm.
llvm-svn: 25559
This commit is contained in:
parent
17eded3dea
commit
c06c8d8c06
@ -31,6 +31,7 @@ Module *llvm::CloneModule(const Module *M) {
|
||||
New->setEndianness(M->getEndianness());
|
||||
New->setPointerSize(M->getPointerSize());
|
||||
New->setTargetTriple(M->getTargetTriple());
|
||||
New->setInlineAsm(M->getInlineAsm());
|
||||
|
||||
// Copy all of the type symbol table entries over.
|
||||
const SymbolTable &SymTab = M->getSymbolTable();
|
||||
|
Loading…
Reference in New Issue
Block a user