mirror of
https://github.com/beefytech/Beef.git
synced 2025-07-04 23:36:00 +02:00
Fixed function decl params mangling issue
This commit is contained in:
parent
2f7616cd40
commit
717ce118df
1 changed files with 4 additions and 0 deletions
|
@ -329,6 +329,8 @@ void BfGNUMangler::MangleTypeInst(MangleContext& mangleContext, StringImpl& name
|
|||
name += "__varargs";
|
||||
continue;
|
||||
}
|
||||
if (methodDef->mParams[paramIdx]->mParamKind == BfParamKind_Params)
|
||||
name += "_params_";
|
||||
typeVec.push_back(BfNodeDynCast<BfDirectTypeReference>(methodDef->mParams[paramIdx]->mTypeRef)->mType);
|
||||
}
|
||||
for (auto type : typeVec)
|
||||
|
@ -1273,6 +1275,8 @@ bool BfMSMangler::FindOrCreateNameSub(MangleContext& mangleContext, StringImpl&
|
|||
name += "__varargs";
|
||||
continue;
|
||||
}
|
||||
if (methodDef->mParams[paramIdx]->mParamKind == BfParamKind_Params)
|
||||
name += "_params_";
|
||||
typeVec.push_back(BfNodeDynCast<BfDirectTypeReference>(methodDef->mParams[paramIdx]->mTypeRef)->mType);
|
||||
}
|
||||
name += '@';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue