mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-14 14:24:10 +02:00
Fixed __im mangling
This commit is contained in:
parent
b71d7beb47
commit
1e020dc14e
1 changed files with 2 additions and 0 deletions
|
@ -739,6 +739,8 @@ String BfGNUMangler::Mangle(BfMethodInstance* methodInst)
|
||||||
if (methodName[i] == '@')
|
if (methodName[i] == '@')
|
||||||
methodName[i] = '$';
|
methodName[i] = '$';
|
||||||
}
|
}
|
||||||
|
if ((!mangleContext.mCPPMangle) && (!methodDef->mIsMutating) && (!methodDef->mIsStatic) && (methodInst->GetOwner()->IsValueType()))
|
||||||
|
methodName += "__im";
|
||||||
|
|
||||||
if (methodInst->mMethodDef->mIsOperator)
|
if (methodInst->mMethodDef->mIsOperator)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue