mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-11-01 00:17:01 +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:
@@ -161,7 +161,8 @@ Function *PoolAllocate::MakeFunctionClone(Function &F) {
|
||||
FunctionType *FuncTy = FunctionType::get(OldFuncTy->getReturnType(), ArgTys,
|
||||
OldFuncTy->isVarArg());
|
||||
// Create the new function...
|
||||
Function *New = new Function(FuncTy, true, F.getName(), F.getParent());
|
||||
Function *New = new Function(FuncTy, GlobalValue::InternalLinkage,
|
||||
F.getName(), F.getParent());
|
||||
|
||||
// Set the rest of the new arguments names to be PDa<n> and add entries to the
|
||||
// pool descriptors map
|
||||
|
||||
Reference in New Issue
Block a user