We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b21a8d5 commit 11c3cceCopy full SHA for 11c3cce
Cpp2IL.Core/Utils/X64CallingConventionResolver.cs
@@ -20,7 +20,12 @@ public static class X64CallingConventionResolver
20
21
const int ptrSize = 8;
22
23
- private static bool IsXMM(ParameterAnalysisContext par) => par.ParameterType.Type is Il2CppTypeEnum.IL2CPP_TYPE_R4 or Il2CppTypeEnum.IL2CPP_TYPE_R8;
+ private static bool IsXMM(ParameterAnalysisContext par)
24
+ {
25
+ var parameterType = par.ParameterTypeContext;
26
+ return parameterType == parameterType.AppContext.SystemTypes.SystemSingleType
27
+ || parameterType == parameterType.AppContext.SystemTypes.SystemDoubleType;
28
+ }
29
30
public static InstructionSetIndependentOperand[] ResolveForUnmanaged(ApplicationAnalysisContext app, ulong target)
31
{
0 commit comments