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:
Chris Lattner 2006-01-23 23:06:28 +00:00
parent 8335e84a4b
commit 9771aeafca

View File

@ -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();