mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-14 11:32:34 +00:00
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
This commit is contained in:
parent
c4ba62ca1d
commit
aa6dad9f40
@ -116,13 +116,6 @@ Function *CloneFunction(const Function *F,
|
|||||||
bool ModuleLevelChanges,
|
bool ModuleLevelChanges,
|
||||||
ClonedCodeInfo *CodeInfo = 0);
|
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
|
/// Clone OldFunc into NewFunc, transforming the old arguments into references
|
||||||
/// to VMap values. Note that if NewFunc already has basic blocks, the ones
|
/// 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
|
/// cloned into it will be added to the end of the function. This function
|
||||||
|
Loading…
Reference in New Issue
Block a user