mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-10 12:32:20 +02:00
Compiler performance enhancements
This commit is contained in:
parent
3736281ff7
commit
d623c21495
22 changed files with 679 additions and 291 deletions
|
@ -12700,7 +12700,7 @@ void BfExprEvaluator::Visit(BfDelegateBindExpression* delegateBindExpr)
|
|||
|
||||
auto _GetInvokeMethodName = [&]()
|
||||
{
|
||||
String methodName = "Invoke$";
|
||||
StringT<512> methodName = "Invoke$";
|
||||
methodName += mModule->mCurMethodInstance->mMethodDef->mName;
|
||||
|
||||
int prevSepPos = (int)methodName.LastIndexOf('$');
|
||||
|
@ -12734,7 +12734,7 @@ void BfExprEvaluator::Visit(BfDelegateBindExpression* delegateBindExpr)
|
|||
methodName += '$';
|
||||
methodName += BfTypeUtils::HashEncode64(hashVal.mLow);
|
||||
|
||||
String mangledName;
|
||||
StringT<512> mangledName;
|
||||
BfMangler::MangleMethodName(mangledName, mModule->mCompiler->GetMangleKind(), mModule->mCurTypeInstance, methodName);
|
||||
return mangledName;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue