mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-17 20:23:59 +00:00
Add new linkage types to support a real frontend
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5786 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -110,7 +110,7 @@ Function *CloneFunction(const Function *F,
|
||||
ArgTypes, F->getFunctionType()->isVarArg());
|
||||
|
||||
// Create the new function...
|
||||
Function *NewF = new Function(FTy, F->hasInternalLinkage(), F->getName());
|
||||
Function *NewF = new Function(FTy, F->getLinkage(), F->getName());
|
||||
|
||||
// Loop over the arguments, copying the names of the mapped arguments over...
|
||||
Function::aiterator DestI = NewF->abegin();
|
||||
|
Reference in New Issue
Block a user