diff options
author | d0k <d0k@91177308-0d34-0410-b5e6-96231b3b80d8> | 2012-09-19 13:03:01 +0000 |
---|---|---|
committer | d0k <d0k@91177308-0d34-0410-b5e6-96231b3b80d8> | 2012-09-19 13:03:01 +0000 |
commit | c39fefa3ffa347f8eb0e38136e8c5765eae5cff8 (patch) | |
tree | 5b722fd7af3039fb2a431afd39f890a13b2bf453 /include | |
parent | 30a4c7b39c28b05579548b15ce11978eefcc2b87 (diff) |
Remove unused and broken CloneFunction wrapper.
It converted the CodeInfo argument to bool implicitly.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@164215 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/Transforms/Utils/Cloning.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/include/llvm/Transforms/Utils/Cloning.h b/include/llvm/Transforms/Utils/Cloning.h index b7b5d29b32..92e15ce932 100644 --- a/include/llvm/Transforms/Utils/Cloning.h +++ b/include/llvm/Transforms/Utils/Cloning.h @@ -116,13 +116,6 @@ Function *CloneFunction(const Function *F, bool ModuleLevelChanges, ClonedCodeInfo *CodeInfo = 0); -/// CloneFunction - Version of the function that doesn't need the VMap. -/// -inline Function *CloneFunction(const Function *F, ClonedCodeInfo *CodeInfo = 0){ - ValueToValueMapTy VMap; - return CloneFunction(F, VMap, CodeInfo); -} - /// Clone OldFunc into NewFunc, transforming the old arguments into references /// to VMap values. Note that if NewFunc already has basic blocks, the ones /// cloned into it will be added to the end of the function. This function |