[llvm-commits] CVS: llvm/lib/Transforms/Utils/CloneModule.cpp

Chris Lattner lattner at cs.uiuc.edu
Mon Jan 23 15:06:40 PST 2006



Changes in directory llvm/lib/Transforms/Utils:

CloneModule.cpp updated: 1.15 -> 1.16
---
Log message:

When cloning a module, clone the inline asm.


---
Diffs of the changes:  (+1 -0)

 CloneModule.cpp |    1 +
 1 files changed, 1 insertion(+)


Index: llvm/lib/Transforms/Utils/CloneModule.cpp
diff -u llvm/lib/Transforms/Utils/CloneModule.cpp:1.15 llvm/lib/Transforms/Utils/CloneModule.cpp:1.16
--- llvm/lib/Transforms/Utils/CloneModule.cpp:1.15	Wed Jan 18 15:32:45 2006
+++ llvm/lib/Transforms/Utils/CloneModule.cpp	Mon Jan 23 17:06:28 2006
@@ -31,6 +31,7 @@
   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();






More information about the llvm-commits mailing list