Revert "Use UnmanagedCallersOnly for delegates".

This reverts commit c8d598d5ac
This commit is contained in:
Evan Husted
2025-03-02 00:47:58 -06:00
parent c3083076ee
commit d304779938
13 changed files with 746 additions and 732 deletions

View File

@@ -97,7 +97,7 @@ namespace ARMeilleure.Translation
public virtual Operand Call(MethodInfo info, params Operand[] callArgs)
{
nint funcPtr = info.MethodHandle.GetFunctionPointer();
nint funcPtr = Delegates.GetDelegateFuncPtr(info);
OperandType returnType = GetOperandType(info.ReturnType);