1
0
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:
Chris Lattner 2006-01-23 23:06:28 +00:00
parent 17eded3dea
commit c06c8d8c06

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