mirror of
https://github.com/RPCSX/llvm.git
synced 2024-12-03 17:31:50 +00:00
When cloning a module, clone the inline asm.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25559 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
8335e84a4b
commit
9771aeafca
@ -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