diff options
author | Chris Lattner <sabre@nondot.org> | 2002-11-20 20:22:58 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2002-11-20 20:22:58 +0000 |
commit | d4fd3978056928b156bc51bff7cd4eb825bffb1a (patch) | |
tree | cb580911db13b149bcbf92715b17ac56720894b9 | |
parent | 900c23ced0a7635b191896d4c00fad3153dde2b7 (diff) |
Cloning stuff doesn't modify the source module
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4787 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | include/llvm/Transforms/Utils/Cloning.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/Transforms/Utils/Cloning.h b/include/llvm/Transforms/Utils/Cloning.h index a6cefc5589..e32b106f1f 100644 --- a/include/llvm/Transforms/Utils/Cloning.h +++ b/include/llvm/Transforms/Utils/Cloning.h @@ -22,7 +22,7 @@ class ReturnInst; /// CloneModule - Return an exact copy of the specified module /// -Module *CloneModule(Module *M); +Module *CloneModule(const Module *M); /// CloneFunction - Return a copy of the specified function, but without /// embedding the function into another module. Also, any references specified |