diff --git a/include/llvm/Transforms/Utils/Cloning.h b/include/llvm/Transforms/Utils/Cloning.h index a6cefc55898..e32b106f1f6 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